Wednesday, May 18, 2016

The Ohce kata, a short and simple exercise to practice outside-in TDD using test doubles

I created this short and simple kata to practice outside-in TDD using test doubles for the mentoring Álvaro and I are doing in Magento Barcelona:

I hope you enjoy doing it.

4 comments:

  1. Funny ;-).

    Interesting kata to see different approaches to test time handling, state, ... Nice work.

    ReplyDelete
  2. Very good kata. Simple, interesting and fun. Excellent if you want to practice Mocking the "system" for testing.

    ReplyDelete