Demo app to recap Unit Testing and learn Mocking with Moq
-
Untestable version no separation of concerns.
Available as a MVC, WPF and Console applicationBranch:
demo/1-no-separation
-
Splits business logic form UI, making the logic testable.
Branch:
demo/2-basic-separation
-
Extends the conversion to retrieve (live) exchange rates from any provider.
This creates a dependency which will need to be mocked.Branch:
demo/3-extend-conversion