Harvest software engineering (6) - Software Testing

Foreword

After the end of the program the coding phase of software engineering, we will be ready for testing software, the purpose of the testing phase is to identify as many problems in the software. But different people have different thinking patterns, so our test is a group of activities. And therefore we have different test methods.

Here Insert Picture Description
purpose

1. Test is execution of the program, aimed at discovering errors
2. A test case is good or bad is whether an error is found so far found no
3. A successful test is found so far found no error

Black box (white box) Test

Black box testing

All functions for the detection of the program, like a black box processing machines, you only need to go into raw materials, processed by the software themselves, and then give you the final result. You can only see the end result, which can not see the process. If the results are consistent with your expectations, even if the program is correct.

Black box testing method

1. Method equivalence class designated
2. The boundary value analysis
3. Error reckoning
4. FIG causal

Limitations of black box testing

Black box testing can only limitation is that the test procedure is correct, you can not see the test can not detect where the error occurred, so there have been white-box testing

White-box testing

All the logical structure of the check program, can clearly see the course of processing, it is possible to see the main logic program, one by one test.

White-box testing methods

1. Basic path testing method
2. The process variations
3. Path Coverage
4. A Test Method
5. Symbol Test Method
6. The logical overlay method
7. Method recent state quality metric
analysis static mechanism 8.
9. code detection method

Principles of software testing

1. constantly test
2 input data, expected output
3. avoid detection by the authors themselves program

Software testing strategy

1. Unit Test
2. Test assembly
3. confirmation test
4. Test System

Testing debugging method

1. forced debugging
2. backtracking Commissioning
3. Commissioning induction method
4. deductive debugging

Test species

Function, reliability testing, strength testing (test-sensitive), performance test, recovery testing, start / stop test configuration testing, security testing, testing may be used to support testing, installation and testing, the testing process, mutual even testing, compatibility testing, capacity testing, documentation, testing.

to sum up

The test phase is the last step before running the software line, is very important at this stage, he is responsible for judging the quality of the software, so a software if no error is found, the program does not mean that there are no errors. To continue to be tested, and in order to find errors as much as possible, to avoid the development of people as testers.

Guess you like

Origin blog.csdn.net/s310040799/article/details/89711963