iOS-Routing-Example icon indicating copy to clipboard operation
iOS-Routing-Example copied to clipboard

Implement tests - Part 3

Open CassiusPacheco opened this issue 5 years ago • 0 comments

A DependencyContainer extension has been added to the testing target in order to ensure that all interfaces registered in the container have been swapped for Mock classes instead.

Also, a RouterMock implementing Router spy methods and all Routes is used to test all routes are executing the correct flow using the correct transition.

Finally, a RoutesMock which implements all Routes interfaces has been added to ensure all routes being triggered from the view models are properly tested.

CassiusPacheco avatar Mar 24 '20 12:03 CassiusPacheco