White Paper on test case design-basic concepts of Test Cases

Source: Internet
Author: User

White Paper on test case design-basic concepts of Test Cases
Author: Vince Source: http://blog.csdn.net/vincetest

Contents
1. Overview
2. Basic concepts of Test Cases
2.1. Definition of Test Cases
2.2. Test Case features
2.3. Test Case components
2.4. Test Case Design Principles
3. Test Case Design Method
3.1. Division of equivalence classes
3.2. Boundary Value Analysis Method
3.3. Incorrect Estimation Method
3.4. Cause and Effect Method
3.5. Table-Driven Analysis Method
3.6 Orthogonal Experiment Design Method
3.7. Function diagram Analysis Method
3.8. Scenario designer
4. Test Case Design comprehensive strategy

1. Overview
Grenford J. in the book the art of software testing, Myers puts forward that a good test case is a test that is likely to find errors not found so far, it can be seen that the design of test cases plays a role in the entire test process. We cannot design test cases only with subjective or intuitive ideas, it is necessary to take some mature test case design methods as guidance, coupled with the personal experience of the design personnel to design the test case, the combination of the two should be a perfect combination. The test case design method described in this article will be a good method guidance for the test designer. Of course, after reading this article, it may not be able to design a good test case, with a good method as a guide, more practical experience is needed to consolidate and refine it. Only by integrating the test design idea with rich practical experience can we design high-quality test cases. Believe me!
The scope of this article is: basic concepts of test cases, test case design methods, and test case design strategies.

Key words: test cases, Division of equivalence classes, Boundary Value Analysis, error inference, cause and Condition Analysis, discriminant table-driven analysis, orthogonal experiment, functional diagram analysis, and Scenario Design

Intended audience: Test designers and testers

References:
1. Zheng Renjie, Computer Software Testing Technology
2. The art of software testing grenford J. Myers

2. Basic concepts of Test Cases
2. 1. Definition of Test Cases

Test cases are a set of test inputs, execution conditions, and expected results designed for specific purposes. A test case is the smallest entity for execution. To put it simply, a test case is to design a scenario in which the software program must run properly and achieve the execution result of the program.

2. Test Case features
1. Most likely to catch the wrong ones;
2. It is not repeated or redundant;
3. A group of similar test cases is the most effective;
4. It is neither too simple nor too complex.

. Test Case components
1. Use Case ID;
2. Use Case name;
3. Purpose of the test;
4. test level;
5. Reference Information;
6. test environment;
7. prerequisites;
8. Test procedure;
9. expected results;
10. design personnel.
 
2. 4. Design Principles of Test Cases
1. representativeness of test cases: represents and covers various reasonable and unreasonable, legal and illegal, boundary and out-of-bounds input data, operations, and environment settings.
2. testability of the test results: the correctness of the test execution results can be determined, and each test case should have the expected results.
3. Reproducibility of test results: the execution results of the system should be the same for the same test cases.

Related Articles:

I. White Paper on test case design-basic concepts of Test Cases

Ii. White Paper on test case design-division of equivalence classes

Iii. White Paper on Test Case Design -- Boundary Value Analysis Method

Iv. White Paper on test case design-incorrect estimation method

V. White Paper on test case design-the cause-and-effect method

Vi. White Paper on Test Case Design -- Determination table-Driven Analysis Method

VII. White Paper on test case design-orthogonal experiment design method

VIII. White Paper on test case design-function diagram Analysis

IX. White Paper on test case design-scenario designer

10. White Paper on test case design-Comprehensive Strategy for Test Case Design

Welcome to repost this article, please indicate the source of the article: Vince Testing Technology Research Center http://blog.csdn.net/vincetest

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.