Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement tests - Part 3 #4

Open
wants to merge 1 commit into
base: part2-di
Choose a base branch
from
Open

Conversation

CassiusPacheco
Copy link
Owner

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.

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 CassiusPacheco changed the title Implement tests Implement tests - Part 3 Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant