Input and Output
==> Tested object ==>
Dependency exception
Test procedure:
First use the minimum data volume, then the general data volume, and finally the massive data.
- Use the minimum data volume to test-driven development, implement basic functions, and create basic function tests.
- Test all functions with the data volume in normal applications
- Finally, we use massive data to test performance and limits.
Note:
- The data in the previous step is a subset of the data in the next step, so you do not need to modify too much test code.
- The data used by the tested object must be controlled by the test code. That is to say, the data must be sent to the tested object by the test code.
Steps:
- Prepare test data in files
- Build UI prototype and develope mock components. Mock components are used for making the application look correct.
- Deploy mock component and test data with UI prototype, create automated tests. After done, the tests and the mock components won't change unless the requirements change.
- Develope production components.
- Deploy production components and test data, run tests.