Unit Tests
← Back to Testing Pyramid
Test individual functions or classes in isolation. Fast to execute (milliseconds), many in number, and focused on specific behaviors. Unit tests provide the fastest feedback loop and form the base of the testing pyramid.
Key Properties
Related
- Integration Tests (next level up)
- Test Doubles (achieve isolation)