摘要:
In this Experiment, I used RunWith(Parameterized.class) to finish the task. Problems I met in this lab: 1. Install Selenium IDE in FireFox and add Sel 阅读全文
摘要:
Install Junit and Eclemma 1.Junit and Hamcrest First download the junit-4.12.jar and hamcrest-all-1.3.jar and so on from https://github.com/junit-team 阅读全文
摘要:
Source code of printPrimes(int n): a) CFG: b) Let MAXPRIMES = 4. Then if we use t1=(n=3) to test the program, we won’t find a fault. But if we use t2= 阅读全文
摘要:
题目: 解答: Program 1:(1) Fault: ‘for(int i=x.length-1;i>0;i--)’. It should be “i>=0”.(2) X=[],y=2. Expected=NullPointerException. Output=NullPointerExcep 阅读全文