Growing Object Oriented Software Guided by Tests — Chapter 3

If you haven’t read chapter 2’s TLDR yet, I recommend going back to it now :)

Good news, I summed up chapter 3 into 1 term you need to know:

Test Fixtures

A test fixture is a fixed state that exists at the start of a test. It ensures that a test is repeatable — every time a test is run it starts in the same state so it should produce the same results. A fixture may be set up before the test runs and torn down after it has finished. The fixture for a test is managed by the class that defines the test and is stored in the object’s fields. All tests defined in the same class start with an identical fixture and may modify that fixture as they run.

Yeah, this chapter didn’t have a lot of interesting stuff in it :) Saved you some precious time! Now you’ve gotta keep on to the next chapter!

Hi, I’m a Time Saver

We’re now on page 53 of the digital book.

What’s next?

link to chapter 4.

Innovation lover, Technology geek, Enthusiastic Software Engineer