摘要: 1. 综述 Selenium IDE是火狐浏览器的一个插件,它会记录你在网页中进行的操作,如登陆、点击等。更为强大的是它还能将记录导出,例如导出成junit测试用例,非常强大,接下里将会看见。 在火狐的插件管理里,搜索这个插件,安装。 2. 使用Selenium IDE 1)单击浏览器上方“工具”中 阅读全文
posted @ 2017-03-26 23:49 Jarin_Wei 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Problem Description 已知程序: / Finds and prints n prime integers Jeff Offutt, Spring 2003 / public static void printPrimes (int n) { int curPrime; // Val 阅读全文
posted @ 2017-03-15 00:00 Jarin_Wei 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 1. 综述 使用工具进行软件测试更省力,可以让程序员少做重复工作,提高工作效率。下面介绍几种测试工具。 Junit和Hamcrest:Junit是Java语言的单元测试框架。Junit测试是程序员测试,也就是所谓的白盒测试,因为程序员知道程序的内部结构,知道程序如何(How)完成了怎样的(What) 阅读全文
posted @ 2017-03-14 23:54 Jarin_Wei 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Problem Description Below are two faulty programs. Each includes a test case that results in failure. Answer the following questions (in the next slid 阅读全文
posted @ 2017-03-05 00:00 Jarin_Wei 阅读(91) 评论(0) 推荐(0) 编辑
摘要: Requirements:Briefly describe an error from your past projects that you have recently completed or an error from other projects which impress you most 阅读全文
posted @ 2017-02-27 17:41 Jarin_Wei 阅读(108) 评论(0) 推荐(0) 编辑