The concept of test cases
Test cases are testing process is very important class of documents, which is the core testing, is a standard set of inputs and outputs in the test, specific control software needs.
Test methods
Equivalence partitioning, boundary value analysis, orthogonal determination table, FIG cause, an error inference method, a scene Design
Real test project
Demand for end users to upgrade to test a web agency management systems.
Requirements: Administrators can log into the system, for ordinary users to upgrade to the agent or promoters.
1, ordinary users must be bound to operate the mobile phone number in order to upgrade.
2, an agent can set up two, three agents and promoters, the two agents can set three agents and promoters, promoters can be set only three agents.
3, places increased only add an integer of 20 or less.
4, a negative input places can be subtracted, but not less than zero quota.
5, the user information inquiry
Write test cases
demand analysis
1, the rms value or invalid login module
2, equivalence partitioning (valid and invalid value) and boundary value analysis (at least three values) upgrading agent
3, boundary value analysis needs to query, and the query condition combination , RMS and comprising invalid value combinations.
4, the logic to increase the quota equivalent value by division.
Written Cases
Test case design is not fixed, everyone can design their own thinking, but the link has to guarantee the basic.
Like writing a test case as the die plate, we saw a lot of himself to know more natural to write too smoothly, this article is for reference only.