Raimund Krämer

Software Craftsman, Consultant, Coach

Tag: TDD

  • Snake in JavaFX (Part 2)

    Snake in JavaFX (Part 2)

    Intro In part 1 we prepared the JavaFX project for drawing 2D graphics and implemented some of the basic snake logic with TDD (test-driven development): Basic movement, colliding with walls, growing the snake when it eats the food. Oh, and the two of you who have been waiting for part…

    Read more

  • Expressive Tests in JUnit 5 Using Nested Test Classes

    Expressive Tests in JUnit 5 Using Nested Test Classes

    I discovered some nice features in JUnit 5 that I haven’t really seen before in the wild, so I thought I’d share them with you. Testing frameworks like JUnit allow for pretty expressive tests if used well. Features I’ve already been using a lot for some time now are things…

    Read more

  • Snake in JavaFX (Part 1)

    Snake in JavaFX (Part 1)

    Intro Programming games is one of the most fun areas of software development to me. Apart from the design of new game mechanics and fictitious worlds, I find the technical challenges very rewarding and a good practice for programming in general. Surely I wouldn’t need to program these arcade classics…

    Read more

  • Do Unit Tests Make Refactoring Harder?

    Do Unit Tests Make Refactoring Harder?

    This is probably one of the most common narratives against TDD (test-driven development) that I hear. It’s often stated by developers who may have shortly tried TDD at some point but then had a bad experience with it. It is very common for developers (and humans in general) to conclude…

    Read more