Unit vs. Integration vs. System test
All of them are functional tests, but on a different level.
- Unit test: Tests the smallest units in isolation.
- Integration test: Tests multiple units in integration.
- System test: Tests the whole system.
Load vs. Stress test
Both of them are non-functional tests, but with a different intensity.
- Load test: Tests with the load expected in reality.
- Stress test: Tests with a higher load than expected in reality.
Stress tests can be used to simulate a DDoS attack.