Debug SomewhatMoreSimplifiedSolitaire
Using the failed test cases from white-box testing and black-box testing, you will debug your code (find and fix errors/bugs).
As you debug, keep track of all the bugs you find and fix. Document each of the bugs in your README.java file. For each bug, indicate whether you discovered the bug through white-box testing or black-box testing.
- Debug
SomewhatMoreSimplifiedSolitaire.java
until all of your white-box test cases pass. DO NOT CHANGE YOUR TEST CASES unless you are 100% sure that you specified the wrong/incorrect expected results. - When all of your white-box JUnit tests pass, re-run your black-box test cases from the previous class period. Record the new actual results. If any black-box tests fail, debug the code.
- Each time you change the source code, re-run your JUnit test cases to make sure you do not accidentally cause any of your white-box tests to fail.