O'Reilly logo
  • RYAN STREET thinks this is interesting:

[Feathers] provides an excellent definition of a unit test:Unit tests run fast. If they don’t run fast, they aren’t unit tests.Other kinds of tests often masquerade as unit tests. A test is not a unit test if:It talks to a databaseIt communicates across a networkIt touches the file systemYou have to do special things to your environment (such as editing configuration files) to run itTests that do these things are integration tests, not unit tests.


Cover of The Art of Agile Development


perfect benchmark of a unit test.