Coming Up with a Testing Strategy
Explore a comprehensive testing strategy encompassing unit, integration, contract, and end-to-end tests for robust application validation.
We'll cover the following...
For applications such as MallBots, we should develop a testing strategy that tests whether the application code does what it is supposed to be doing. It should also check whether various components communicate and interact with each other correctly and that the application works as expected:
Our testing strategy will have four parts:
Unit tests: These are a no-brainer addition to our strategy; we want to ensure the code we write does what we intend it to do.
Integration tests: We want to test the input and output from the module core and include an integration test to test the dependencies that it uses.
Contract tests: We will use contract tests to ...