Question: Help with Java Junit testing for some piece of code that you create with one or more faults: create five tests (with different inputs): 1.
Help with Java Junit testing
for some piece of code that you create with one or more faults: create five tests (with different inputs): 1. One passes whenever the fault is not reached. (!Rx) 2. One passes only if the fault is reached, but does not infect. (R) 3. One passes only if the fault is reached, infects, but does not propagate. (RI^P) 4. One passes only if the fault is reached, infects, and propagates i.e., you detect a failure in the output. (RIPR) 5. One passes only if the fault is not reached and the result is correct.(!R no other failure)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
