Wednesday Night: Unit Testing Kata in the Bar

Today my old team mate on the previous projects and currently Scrum Master, Alex Ginda, joined me in Unit Testing Kata effort... in the bar :) Kata is very straightforward thing: masters of martial arts perform certain fighting "patterns" in solo (or even in pairs) but it's not a real fight.


The idea turned applicable in software development. For more detail we refer reader to CodingKata website. What we did was a bit different though. The idea was not that much about performing a coding exercise but rather coding and unit testing.

So, we came up with the exercise, relatively simple one, here it is.

The exercise: Lighthouse radio monitoring devices run Java (wishful thinking, allowed in kata's legend:) ). Two in-house (or better say, in-light-house) programmers need to code and unit test simple java method that accepts a collection of Morse signals as input and returns true if the signal is SOS; single mistake allowed though. And it returns false otherwise. Very simple. Oh, and I almost forgot to mention that SOS in Morse code looks like this: . . . _ _ _ . . .

Took us about 45 minutes pure time. Technical details are not that relevant, here's few screenshots of the process:



Good finding... eating and coding is not that bad, seriously... when both of us ate we couldn't continuously code, but we could think better - very useful for "test-first" approach. It doesn't necessarily mean though that TDD develops unhealthy team habits :) It's all more complicated...

And finally, performing kata is fun, should be fun no matter what... Having it in the bar, like we did, or even outdoors or some other funny place, really sets cool context and totally reloads your mind. It's funny and insightful...





20 comments:

  1. Your blog Is too good!! Thanks for Sharing in article.......

    e-commerce web

    ReplyDelete
  2. Thank you. Found it interesting and useful. Java is a general purpose, high-level, class-based and object-oriented programming language. And we are the Best JAVA Training in Chennai
    Regards,
    JAVA J2EE Training in Chennai|JAVA J2EE Training Institutes in Chennai|training institutes in chennai

    ReplyDelete
  3. Pleasant Post. It is truly intriguing to peruse from the earliest starting point and I might want to share your site to my circles, continue sharing more like this.
    Regards,
    Java Training in Chennai | Java J2EE Training in Chennai | Java courses in Chennai

    ReplyDelete
  4. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.

    Java Training in Bangalore

    ReplyDelete

  5. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.

    SELENIUM TRAINING IN CHENNAI

    ReplyDelete
  6. Thank you for sharing the excellent post. you helped me to gain more information on the latest technique..Java Projects Center in Chennai | Java Projects Center in Velachery

    ReplyDelete
  7. Impressive blog with lovely information. really very useful article for us thanks for sharing such a wonderful blog... 
    Java Training Center in Chennai | Best J2EE Training Center in Chennai | No.1 Java Training Institution in Velachery

    ReplyDelete
  8. I really enjoy simply reading all of your weblogs. Simply wanted to inform you that you have people like me who appreciate your work. 
    Best Selenium Training Institute in Chennai | Selenium Training Institute in Velachery

    ReplyDelete
  9. Just admiring your work and wondering how you managed this blog so well. It’s so remarkable that I can't afford to not go through this valuable information whenever I surf the internet!
    IELTS training in chennai

    German Classes in Chennai

    GRE Coaching Classes in Chennai

    TOEFL Coaching in Chennai

    spoken english classes in chennai | Communication training

    ReplyDelete
  10. the marketing department that is concerned with marketing and promoting the company’s products and introducing people to it, presenting offers and competition strategies, and the operational management in which workers and production departments are in the institution. In this context, let us learn the importance of e-marketing in the following.
    read more جرافيك ديزاين تصميم موقع ووردبريس معايير اختيار الموظف المثالي

    ReplyDelete