Types of tests
Unit tests:
- The lowest level of testing
- Test an individual unit (or function) of a software
- Tests are run in very controlled environments
- 90-100% test coverage
Functional:
- Higher-level function testing
- Test outside dependencies
- Example: get a specific value from a database, API
Integration:
- Assemble project modules
- Test how microservices work together
- Example: database connection
End-To-End:
- Test the application in a real environment
- Use a production-like database
- UI testing
- Acceptance testing