Notes on software testing methods and technology
2014-07-17
Chapter 1 Introduction
1.3 What is software testing
1.4 relationship between software testing and software development
Chapter 2 Basic concepts of software testing
2.1 Software defects
2.3 classification of software testing
2.4 Test phase
2.5 scope of work for Software Testing
Chapter 3 software testing methods
Black box testing
Boundary Value Test
Equivalent test
REPORT Date
Triangle
Test Based on decision table
Nextdate Function
White box testing
Statement Overwrite
Overwrite Determination
Conditional coverage
Decision condition Overwrite
Condition combination coverage
Path Overwrite
Test the basic path
Chapter 1 Introduction
Return
1.3 What is software testing
Definition: Is a whole composed of verification and validation activities:
- "Verification": Check whether the software has correctly implemented the system functions and features defined in the product specifications.
- Validation of effectiveness: determines whether the software meets the user's real activity needs.
Difference between features (the difference between functionality and features ):
Functionality refers to how well something works. features refer to what something can do. A feature is a sub-system or facility that in need ded within a larger system. A function is the action that can be passed med within the system. much functionality is enabled through a feature.
For instance, user administration is a feature offered in windows. Add User, grant privilege to user, delete user, List users, etc. Are functions enabled by the user administration feature.
1.4 relationship between software testing and software development
Figure 1 V model presentation TEST AND DEVELOPMENT
Chapter 2 Basic concepts of software testing
Return
2.1 Software defects
1. Defects(Bug): the so-called software defect, that is, some kind of damage to normal operation ability in the computer or program, the so-called software defect, the results may cause the software product to some extent not meet the user's needs.
2How are Software defects generated?
- Technical problems: such as algorithm errors, syntax errors, computing and intensive reading errors, and interface parameter transfer mismatch.
- Software itself: such as imperfect development standards or procedures, document errors
- Team work: misunderstanding, inadequate communication.
3. Composition of Software defects
Figure 2 Composition of Software defects
2.3 classification of software testing
Figure 3 3D space for Software Testing
Additionally, depending on whether the software is executed during the testing process: static testing and Dynamic Testing
Table 1 Software Testing Technology classification table
Common tests
2.4 Test phase
Figure 4 test phase
2.5 scope of work for Software Testing
Figure 5 test Flowchart
Chapter 3 software testing methods
Return
Black box testing boundary value testing
A large number of testing practices show that many failures often occur on the boundaries of the input custom domain or output value domain, rather than inside it.
Basic Idea of Boundary Value Analysis: select the most test data that is equal to, just greater than, and just less than the Boundary Value
Example: Assume that there are two variables, X1 and X2, A <= X1 <= B, c <= X2 <= D.
Limitations of Boundary Value Analysis: variables are independent and physical.
Equivalent test
Equivalence testing motivation: we hope to perform a complete test to avoid redundancy.
REPORT Date
Triangle
Test Based on decision table
Nextdate Function
White-box test statement Overwrite
Overwrite Determination
Conditional coverage
Decision condition Overwrite
Condition combination coverage
Path Overwrite
Test the basic path
Reference
Http://www.docin.com/p-234892805.html
Http://www.docin.com/p-201537948.html