×

WPF and MVVM: Test Driven Development of ViewModels

Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare+
Duration

5h 22m

level

Intermediate

Course Creator

Thomas Claudius Huber

Last Updated

25-Jun-24

Testing your ViewModels while they’re in development can help you create better apps. In this course, you’ll learn how to use test-driven development (TDD) to build the ViewModels of your MVVM application.

Add your review

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.
Author Name: Thomas Claudius Huber
Author Description:
Thomas is a Microsoft MVP for Windows Development. He works as a developer, consultant, and trainer in the fields of .NET, C#, TypeScript, XAML, and Azure. Thomas is a well-known speaker and book author. He has written several special interest books in his areas, including an extensive handbook for Windows Presentation Foundation and a handbook on development with TypeScript. Thomas lives in Germany’s Black Forest with his wife and their three daughters. In his spare time, he plays football and … more

Table of Contents

  • Course Overview
    1min
  • Introduction
    23mins
  • Getting Started with Unit Testing
    46mins
  • Writing Testable ViewModels
    39mins
  • Mocking Dependencies with Moq
    15mins
  • Testing and Implementing the Loading of Friends
    58mins
  • Closing Tabs and Saving a Friend
    47mins
  • Adding a New Friend
    26mins
  • Deleting an Existing Friend
    32mins
  • Interacting with Dialogs in MVVM
    32mins

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Be the first to review “WPF and MVVM: Test Driven Development of ViewModels”

Your email address will not be published. Required fields are marked *

WPF and MVVM: Test Driven Development of ViewModels
WPF and MVVM: Test Driven Development of ViewModels
Edcroma
Logo
Compare items
  • Total (0)
Compare
0
https://login.stikeselisabethmedan.ac.id/produtcs/
https://hakim.pa-bangil.go.id/
https://lowongan.mpi-indonesia.co.id/toto-slot/
https://cctv.sikkakab.go.id/
https://hakim.pa-bangil.go.id/products/
https://penerimaan.uinbanten.ac.id/
https://ssip.undar.ac.id/
https://putusan.pta-jakarta.go.id/
https://tekno88s.com/
https://majalah4dl.com/
https://nana16.shop/
https://thamuz12.shop/
https://dprd.sumbatimurkab.go.id/slot777/
https://dprd.sumbatimurkab.go.id/
https://cctv.sikkakab.go.id/slot-777/
https://hakim.pa-kuningan.go.id/
https://hakim.pa-kuningan.go.id/slot-gacor/
https://thamuz11.shop/
https://thamuz15.shop/
https://thamuz14.shop/
https://ppdb.smtimakassar.sch.id/
https://ppdb.smtimakassar.sch.id/slot-gacor/
slot777
slot dana
majalah4d
slot thailand
slot dana
rtp slot
toto slot
slot toto
toto4d
slot gacor
slot toto
toto slot
toto4d
slot gacor
tekno88
https://lowongan.mpi-indonesia.co.id/
https://thamuz13.shop/
https://www.alpha13.shop/
https://perpustakaan.smkpgri1mejayan.sch.id/
https://perpustakaan.smkpgri1mejayan.sch.id/toto-slot/
https://nana44.shop/
https://sadps.pa-negara.go.id/
https://sadps.pa-negara.go.id/slot-777/
https://peng.pn-baturaja.go.id/
https://portalkan.undar.ac.id/
https://portalkan.undar.ac.id/toto-slot/
https://penerimaan.ieu.ac.id/
https://sid.stikesbcm.ac.id/