Test scopes
- Unit test - an isolated test around a single 'unit' of code, although that can be anything from a method to a class to a series of (related) classes.
- Component test - same as a unit test
- Isolated test - a test that doesn't do any I/O, i.e. the Ports have been filled with in-memory Adapters
- Integration test - a test that interacts with deployed instances of the code and related services, possiby with some Test Doubles (mocked/faked/stubbed etc).
- End to End test - a test that entirely interacts with deployed instances using public interfaces
- Test-per-class - a convention that there should be one unit test for each class
Uses of tests