044: Moq Mocking Framework (Golang)

Опубликовано: 04 Ноябрь 2024
на канале: Testing All The Things
793
19

In this episode of Testing All The Things we refactor the test code we created in episodes 027 - 030. Replacing the hand coded test doubles with ones we create using the Golang mocking framework Moq by Mat Ryer.

we use Moq to generate Mocks, Spies and a Fake for our Golang driving licence number generator.

The code produced during this episode can be found on GitHub:
https://github.com/testingallthething...

You can follow me on twitter:   / braddle  

** Please Rate, Review, Subscribe and Share these videos **