2017年3月26日
摘要: 一、关于Selenium IDE的使用 1. 安装Selenium IDE 在Firefox插件商店里找Selenium IDE 安装成功后 2.录制和测试 右上红色按钮打开进行录制 录制结果 测试结果 3.脚本的导出 点击 文件-》Export Test Case As -》Java/Junit 阅读全文
posted @ 2017-03-26 12:11 梁霄.tju 阅读(150) 评论(0) 推荐(0) 编辑
  2017年3月14日
摘要: 题目要求 a)画出程序的控制流图 b) 将 for(int i = 0; i<=numPrimes-1;i++) 改成 for(int i = 0; i<numPrimes-1;i++) c) t=(n= 2) d) 节点覆盖: 【0,1,2,3,4,5,3,4,6,3,7,8,9,1,10,11, 阅读全文
posted @ 2017-03-14 22:00 梁霄.tju 阅读(153) 评论(0) 推荐(0) 编辑
  2017年3月11日
摘要: 第一步:安装junit, hamcrest 和 eclemma 1.在eclipse里的项目配置路径中添加JUnit4的库 这个时候JUnit以及hamcrest就配置到你的项目中了 2. 通过Eclipse Marketplace 安装EclEmma插件 重启eclipse后生效 第二步:测试代码 阅读全文
posted @ 2017-03-11 22:50 梁霄.tju 阅读(119) 评论(0) 推荐(0) 编辑
  2017年3月2日
摘要: Below are two faulty programs. Each includes a test case that results in failure. Answer the following questions (in the next slide) about each progra 阅读全文
posted @ 2017-03-02 20:22 梁霄.tju 阅读(84) 评论(0) 推荐(0) 编辑
  2017年2月27日
摘要: Once I did a project of a website, I named a field ‘order’ in database. There was a sql query seems like ‘insert into ... ...(..,..,order) values(..,. 阅读全文
posted @ 2017-02-27 20:35 梁霄.tju 阅读(89) 评论(0) 推荐(0) 编辑