6. MVVM in one slide View textbox button Properties listbox Commands ViewModel Model
7. Testing Frameworks An xUnit tool to Minimize effort in writing tests Simplify the running phase Usually is an assembly to reference in your test projects, with: A bunch of attributes to mark the test methods A bunch of asserts to verify your expectations
8. Test doubles To keep the focus on the tested object we need to remove all the dependencies Test doubles act as “fake” dependencies that replace the real ones Frameworks like Moq, RhinoMock, etc…came to help
9. TDD Test Driven Development / Test Driven Design A design practice 3 simple rules Write no production code without failing tests Write only enough test code so that it fails Write only enough production code to get your tests to pass Robert (uncle bob) Martin
10. Sample App A simple Todo list manager When the app starts I want see the to do list I want to be able to add a new Item specifing a description and a due date I want to be able to delete an item I want to be able to mark an item as complete