I did the first round of the Yatzi kata in Java using jMock.
As I tell in the README, I used "a funny way to explore design having strict mocks in place". Even though it's not very orthodox, it's working fine for me because it helps me to avoid accidentally creating obstacles to refactor.
If I have some time, I'll explain it in a future post.
If you're curious about it, check the commits to see its mechanics (I committed after each green and each refactoring step).
You can check all the code in this GitHub repository.
No comments:
Post a Comment