In this article I’ll explain how to overcome several common challenges when creating unit testable WPF application using MVVM. I included the sample code of the demo application accompanying this article. The source code can be downloaded from GitHub.
It is a very simple WPF application that allows the user to work with person directory. The user can view person directory, view person details, edit person data, add a new person to directory or remove existing one. When deleting a person, the application displays a message box for confirming deletion. Continue reading