[ must do 1] for the triangle given in Appendix 1 to determine the Java code, the use of equivalent class partitioning method to design test cases, tabular form to list the design of the test cases
Valid equivalence classes:
Test data: 345,445,278,444
Tabular format lists the test cases for the design:
| Serial number |
Test data |
Forecast results |
| 1 |
345 |
Right triangle |
| 2 |
445 |
Isosceles Triangle |
| 3 |
278 |
Cannot form a triangle |
| 4 |
444 |
Equilateral triangle |
"must do Title 2] Simulate the JUnit test code with the triangles given in Appendix 2, design the unit test script, and test the test cases that are designed for [ must do 1]. Note the order in which the test cases appear in the test script is consistent with the order listed in the [ required title 1] table. Run the resulting test script, truncate the result graph, write to the blog, and push the source code to your own github.
Conclusion: The test results coincide with the test predictions.
must do title 3] Experience. Write down the Knowledge points (PS: Test Case design methods and steps; test script design steps or main content) that you gain from this exercise.
This assignment began to be a bit messy, but at last it was done, probably not very well.
Eighth time Assignment