Tag: mockito

  • Adjust design to get green bar

    Adjust design to get green bar

    A while ago I read the¬†pragmatic programmer. In the book are many tips¬†listed. In the back of the book there is an tear-out card with all the tips collected. As I’m working on different locations all the time I rarely look at the card. The tips however seem very useful to me. Therefore I created a small Google App engine application that sends me a random tip every day. TDD-ing my way through the requirements I now get a tip every day. During the development I ran into one little problem with stubbing my randomizer method.