摘要:
Download from the website http://www.seleniumhq.org/download/ Then, use this button : to add the new shortcut on menu bar. Record the script. Then, cl 阅读全文
摘要:
1.Use the following method printPrimes () for questions a-d (a)Draw a flow chart for the printPrimes () method. (b)Consider test cases t1 = (n = 3) an 阅读全文
摘要:
1 : Build test environment 1) : Build a project.Download Junit4.12 and Hamcrest1.3. 2) : Build a new project and two testing class. 3) : Click the but 阅读全文
摘要:
1. In this program if we test the data x = [2,3,5];y = 2. We will get the output -1; This is a fault; The reason is that we can not reach the first el 阅读全文
摘要:
令我印象深刻的bug的是有一次,在测试包含虚函数的类时,我创建了一个包含虚函数的类被另一个类继承,并且在子类的构造函数中将父类的很多属性都清零,随后子类实现父类中产生的虚函数,但是产生了无法访问内存的错误,在经过测试之后,我发现是在子类构造函数中为了清零属性使用的memset函数将子类中的虚函数指针 阅读全文