O'Reilly logo

Test-Driven Java Development - Second Edition by Viktor Farcic, Alex Garcia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Remote-controlled ship requirements

We'll work on a variation of a well-known kata called Mars Rover, originally published in Dallas Hack Club (http://dallashackclub.com/rover).

Imagine that a naval ship is placed somewhere on Earth's seas. Since this is the 21st century, we can control that ship remotely.

Our job will be to create a program that can move the ship around the seas.

Since this is a TDD book and the subject of this chapter is unit tests, we'll develop an application using a TDD approach with the focus on unit tests. In the previous chapter, Chapter 3Red-Green-Refactor – From Failure Through Success until Perfection, you learned the theory and had practical experience with the Red-Green-Refactor procedure. We'll build on top ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required