WebSafe 3.7github.com
|
|
🏠
Skip to content

Implement tests - Part 3#4

Open
CassiusPacheco wants to merge 1 commit intopart2-difrom
part3-di-tests
Open

Implement tests - Part 3#4
CassiusPacheco wants to merge 1 commit intopart2-difrom
part3-di-tests

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

1 participant

Comments