Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We should clarify, right up front, that these restrictions apply only to unit tests and not system tests or intergration integration tests, which are also of great importance to the success of any project. However, your unit tests, one for each class in your codebase, should be clean, decoupled from one another and ultrafast. You should be able to run thousands of unit tests and get your green bar in a few seconds. Achieving that kind of unit testing performance takes major discipline on the part of the developer, and Ashcroft helps keep you in on the straight-and-narrow path, by failing tests which stray from best practices.

...