Save for later
WPF and MVVM
Test Driven Development of ViewModels
When applying the MVVM pattern, the UI-logic is placed in ViewModels. A key advantage of such a ViewModel is that it is highly testable. In this course, WPF and MVVM: Test Driven Development of ViewModels, you'll learn the specifics of unit testing within MVVM. You'll discover how to create and run unit tests in Visual Studio with the popular testing framework xUnit, and how to write testable ViewModels by moving out typical dependencies like data access logic, event aggregator, modal dialogs and more. Next, you'll be taught how to mock/fake these dependencies in your unit tests by using the mocking library, Moq, as well as inject the dependencies into your ViewModels with a dependency injection framework called Autofac while running your application. Finally, you'll build and unit-test the ViewModels for an MVVM app called FriendStorage from 'empty class' to final by using test-driven development. By the end of this course, you'll understand how to develop your ViewModels through testing in order to create better apps than ever.
Get a Reminder
Get a Reminder
Similar Courses
Careers
An overview of related careers and their average salaries in the US. Bars indicate income percentile.
Patient Unit Secretary $26k
Care Attendant/Unit Secretary $32k
Unit Diary Clerk/Company Clerk $44k
CNA, Telemetry Tech, Unit Secretary $51k
HEALTH UNIT COORD $55k
Public Affairs Specialist, Media Unit, Corporate Headquarters $63k
Account Executive - Emerging Technology Unit $63k
Inpatient Neuroscience Unit Advanced Practice Provider $65k
Junior Business Unit Controller $77k
Wholesaler Unit Investment Trusts and Structured Product Sales Manager $108k
Business Unit Control Analyst $111k
Global Business Unit Leader $129k
Write a review
Your opinion matters. Tell us what you think.
Please login to leave a review
Similar Courses
Sorted by relevance
Like this course?
Here's what to do next:
- Save this course for later
- Get more details from the course provider
- Enroll in this course