Writing the Test

Learn to write tests in test-driven development.

The TDD process consists of the following five steps:

  1. Write the test.
  2. Run the test.
  3. Write the actual code.
  4. Make all tests pass.
...