5 types of tests: 1


5 types of tests:

1. Unit: Test 1 thing, alone

2. Integration: Test a few things, together

3. End-to-end (e2e): Test that everything works together (run the app)

4. Performance: Test that app is fast under load

5. Contract: Test the interaction between 2 separate systems
Tools for each testing type:

1. Unit: Jest, Vitest, NUnit, JUnit

2. Integration: See #1 or #3.

3. End-to-end: Playwright, Cypress

4. Contract: Pact

5. Performance: k6, JMeter

View original on X