We chose the test cases that achieved the decision coverage and MC/DC coverage in the test cases definition document because it was enough to have a coverage of 75% (28/36 * 100 = 77.78%).
- In line 25, the condition
weather.getTemperature() > 25
was added to better fit the requirements and a test was failing for that.
- In testDecisionMCDC1, the temperature was changed from 10 to 40.
- In testDecisionMCDC2, the precipitation was changed from false to true in both test cases.
- In testDecisionMCDC3, the precipitation had the same change in test case 7.
- In testDecisionMCDC3, the expected output changed from "Go skiing." to "No specific recommendation." in test case 7 because the test case definition had a practical error.
- In testDecisionMCDC7, the temperature changed from 20 to 10 in test case 19 because there was a typo in the test case defintion.
- In testDecisionMCDC7, the expected output changed from "No specific recommendation." to "Go hiking." in test case 19 as a consequence to the last change of temperature.
The name of the Maven project wasn't changed from the template because doing so gave lots of errors, so to avoid them, we left the name as it was. We apologize if it causes any inconvenience. The "after" branch mentioned in the Testing Management document is the main branch. The "before" branch contains all the "before" states that are mentioned in this document.