In episode 7 of Testing All The Things we replace the hand coded test doubles with ones creating with the test double framework Mockery.
You can find all the Test Double code in this GitHub repository
In episode 7 of Testing All The Things we replace the hand coded test doubles with ones creating with the test double framework Mockery.
You can find all the Test Double code in this GitHub repository
In Episode 4 of Testing All The Things we continue to create the driving licence generator we started in the previous two videos. In this video we create a mock random number generator to create random digits to the end of the driving licence number.
You can find all the Test Double code in this GitHub repository or just the code created for the spy functionality in this commit