Software testing methods and techniques

Source: Internet
Author: User

Introduction to the first chapter
1.3 What is software testing
1.4 The relationship between software testing and software development
Chapter II Basic concepts of software testing
2.1 Software defects
2.3 Classification of software tests
2.4 Test phase
2.5 Scope of software testing
Chapter III Software Testing methods
Black box test
Boundary Value Test
Equivalence test
Report date
Triangle
Test based on decision table
Nextdate function
White box test
Statement overrides
Decision coverage
Conditional override
Decision condition Override
Conditional combination Overrides
Path Overlay
Basic Path Testing
About the basic path test for loops
Reference

Introduction to the first chapter

Return

1.3 What is software testing

definition : is the whole consisting of "validation (verification)" and "Confirmation (Validation)" Activities:

    • "Verification": Verify that the software has correctly implemented the system functions and characteristics defined in the product specification.
    • "Validation": Verify that the software meets the user's real activity needs.

Differences in functionality and characteristics (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 this in included within a larger system. A Function is the action of the can be performed within the system. Much functionality is enabled through a Feature.

For instance, the User administration is a feature offered in Windows. ADD user, Grant Privilege to User, Delete user, List Users, etc. is Functions enabled by the User Administration feature.

1.4 The relationship between software testing and software development

Figure 1 v Model rendering test and development

Chapter II Basic concepts of software testing

Return

2.1 Software defects

1 . Defect (Bug): The so-called software defect, that is, a computer or program in the existence of some damage to the normal operation of the problem, the wrong so-called software defects, the result will result in software products to some extent do not meet the needs of users.

2 . How are software defects generated?

    • Technical issues: such as algorithmic errors, syntax errors, calculation and reading errors, interface parameter passing mismatch.
    • Software itself: such as development standards or process imperfections, documentation errors
    • Team work: Misunderstanding, not enough communication.

3 . The composition of software defects

Figure 2 Software defect composition

2.3 Classification of software tests

Figure 3 Software test three-dimensional space

Supplemented by whether or not the software is executed during the test: static test, dynamic test

Table 1 Software Testing Technology classification table

Common Tests

2.4 Test phase

Figure 4 Test phase

2.5 Scope of software testing

Figure 5 Test Workflow Flowchart

Chapter III Software Testing methods

Return

Black box test boundary value test

A large number of test practices have shown that many failures often occur on the boundary of the input definition field or the output range, rather than within it.

The basic idea of Boundary value analysis method: To select data that is exactly equal to, just greater than, and just less than the boundary value of the most test data

Example: Suppose there are two variables X1 and x2 function f,a<=x1<=b, C<=x2<=d.

Boundary Value Analysis Limitation: The variable is independent and is a physical quantity.

Equivalence test

Equivalence class Test motive : Hope to complete the test, but also avoid redundancy.

Report date

Triangle

Test based on decision table

Nextdate function

White box Test Statement Overlay

Decision coverage

Conditional override

Decision condition Override

Conditional combination Overrides

Path Overlay

Basic Path Testing

About the basic path test for loops

Reference

Http://www.docin.com/p-234892805.html

Http://www.docin.com/p-201537948.html

Software testing methods and techniques

Related Article

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.