Description
Course info
Rating
(445)
Level
Beginner
Updated
Jul 17, 2015
Duration
2h 39m
Description

You have learned XAML development, but now you want to build maintainable and testable applications. If thats the case then the MVVM pattern is your best friend! In this Practical MVVM course, you will learn by doing. You'll start with an explanation of the MVVM pattern and then together with the instructor you'll convert an existing, non-MVVM application to use the MVVM pattern. At the end of the course, you will have a solid understanding of the pattern and how to apply it practically in all your XAML-based application development. This course uses WPF but you can apply the material in just about any XAML technology.

About the author
About the author

Gill Cleeren is a solution architect, author, and trainer in mobile and web technologies. He's also a Microsoft Regional Director and MVP. He lives in Tienen, Belgium.

More from the author
GitHub Fundamentals
Beginner
4h 16m
Sep 24, 2018
Xamarin: The Big Picture
Beginner
2h 15m
Mar 28, 2018
More courses by Gill Cleeren
Section Introduction Transcripts
Section Introduction Transcripts

Unit Testing Your View Models
Hi and welcome to the 5th and last module of this Pluralsight course titled Practical MVVM. I'm still Gill Cleeren and you can contact me on Twitter via @gillcleeren. At this end of Module 4, so the previous module, we were pretty much ready with construction of the actual functionality. The application is ready, but we have, let's say, skipped one very important aspect - the testing of the code. And creating testable code was one of the big benefits of MVVM. So in this module, we are going to change that and we are going to focus on writing unit tests, and along the way, we'll make some changes to the code we have already written to make it even more easy to test. So as mentioned, this module will be all about testing our code using unit tests. To kick off the module, we're going to start by taking a look at unit testing. What is it? And why should you care, and do it in all of your projects as well? After we're all clear on the fact that unit tests are a good thing, we'll start writing them. At first we're going to write some unit tests for our ViewModels we have created earlier in this course. Secondly, we'll be writing a unit test for a service class we have already created. The target of this module is pretty simple. Testing, testing, and before I forget, some more testing. After watching this module, you'll be clear on what unit tests are and why you should definitely look into them. Certainly if you invest in building your applications based on MVVM. You'll walk away with the understanding of how to create unit tests for both your ViewModel, as well as your services.