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...





18 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. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging…
    Regards,
    web designing training in chennai|web design training in chennai|Best web designing course in chennai

    ReplyDelete
  4. Well Said, you have furnished the right information that will be useful to anyone at all time. Thanks for sharing your Ideas.
    web designing course in Chennai | web designing training in Chennai

    ReplyDelete
  5. Excellent post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
    Web designing Course in Chennai | Hadoop Training in Chennai

    ReplyDelete
  6. I have read your blog its very attractive and impressive. I like it your blog.


    Java Training in Chennai Java Training in Chennai | Core Java Training in Chennai Java Training in Chennai

    Java 8 online training Java 8 online training Java Online Training Java Online Training JavaEE Training in Chennai JavaEE Training in Chennai

    ReplyDelete
  7. I have read your blog its very attractive and impressive. I like it your blog.


    JavaEE Training in Chennai JavaEE Training in Chennai

    Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

    Java Online Training Java Online Training Core Java 8 Training in Chennai Java 8 Training in Chennai

    ReplyDelete
  8. I appreciate you and I would like to read your next post.Thanks for sharing this webpage.
    Regards,
    Spring Training in Chennai | Spring course in Chennai | Spring Framework Training in Chennai

    ReplyDelete
  9. 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