Testing Lab Exercises (WBT)

Debug SomewhatSimplifiedSolitaire

Debug SomewhatSimplifiedSolitaire

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.

  1. Debug SomewhatSimplifiedSolitaire.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.
  2. 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.
  3. 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.