TDD


Let’s make our game loop interactive! Without user input any game is boring, right? So we need respective handling in the loop. Int his episode I’m test-driving it into our code. ► All Game of Life Episodes: http://goo.gl/xc59GX ► Let’s Develop! http://letsdeveloper.com ► Don’t Miss an Episode: http://goo.gl/whzDi1 ► Test-Driving […]

Conway’s Game of Life #13 – Game Loop – Input



Next requirement is to check for exceptional cases an throw. I use JUnits ExpectedException Rule to test exceptions and their message. I use more Java8 Streams features to check for the exceptional cases and to build the exception message. As always, I clean up after myself. ► All Kata Episodes: […]

String Calculator Kata 03 – Testing Exceptions (JUnit) & Streams ...







Prime Factors is a simple, yet interesting kata about implementing prime-factor computation. The kata was developed by Uncle Bob, together with his son. I perform it here in Vanilla Java. ► All Kata Episodes: http://goo.gl/uTSO9B ► Let’s Develop! http://letsdeveloper.com ► Don’t Miss an Episode: http://goo.gl/whzDi1 ► Kata: http://butunclebob.com/ArticleS.UncleBob.ThePrimeFactorsKata ► The […]

Code Kata – Prime Factors