Project requirements:
Construct the program, respectively:
Fault cannot be triggered.
Triggers the fault, but does not trigger the error.
Triggers the error, but does not produce failure.
Pairs of objects: Chiuyue No.: 2013110404 Blog Address: http://www.cnblogs.com/Issing/
contribution ratio:1:1
Pair programming Photos:
Source:
Analysis: The control conditions for the for loop of code 19 lines i > 0 here should be i>=0, otherwise the element labeled 0 will not be accessed;
1. Fault test cases are not triggered:
str = NULL;
2. Fault triggered but no error triggered
str = "Pictures";
The expectation is 7, and the actual is 7.
3. Error triggered but no trigger failure
str = "We are One";
The expectation is-1, actually also-1
| A bit of achievement |
Study time |
Newly written lines of code |
Blog Volume |
Learn the point of knowledge |
| First week |
11 |
0 |
0 |
Software |
| Second week |
12 |
0 |
1 |
Software |
| Third week |
12 |
0 |
1 |
Software |
| Week Four |
12 |
100 |
1 |
Software |
| Week Five |
11 |
0 |
0 |
Software |
| Week Six |
11 |
210 |
0 |
Compilation principle |
| Seventh Week |
13 |
56 |
1 |
Software |
| Eighth Week |
13 |
26 |
1 |
Software Testing |
A test program for PIE on a pair project