August 2015
Intermediate to advanced
284 pages
5h 55m
English
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 test-driven development approach with focus on unit tests. In the previous chapter, you learned the theory and had practical experience with the red-green-refactor procedure. We'll build on top of that and try to learn how to effectively employ unit testing. ...
Read now
Unlock full access