- Reducing bug in production
- Gain confidence in product
- Can be used as documentation
type of testing image credit JavaScript testing best practice
- β Unit testing
- β API testing (kind of integration testing)
- βοΈ End to end testing (e2e)
image credit https://www.headspin.io/