hw3

摘要: 1. 2.将MAXPRIMES的值设为4,t2会发生越界错误,t1不会。 3.令n = 1,此时不满足while语句的判断条件,不执行while循环。 4. 点覆盖:{1,2,3,4,5,6,7,5,6,8,9,10,11,12,13,14,15,16} 边覆盖:{(1,2),(2,3),(2,12 阅读全文
posted @ 2018-03-25 15:23 张三喜 阅读(216) 评论(0) 推荐(0) 编辑

Software Testing, Lab 1

摘要: 1.Install Junit(4.12), Hamcrest(1.3) with Eclipse and Install Eclemma with Eclipse 下载Junit-4.12.jar、hamcrest-core-1.3.jar、和hamcrest-library-1.3.jar。 打 阅读全文
posted @ 2018-03-22 11:57 张三喜 阅读(124) 评论(0) 推荐(0) 编辑

hw2

摘要: 如上面两个小程序中,分析下列问题: 1、Identify the fault. 2、 If possible, identify a test case that does not execute the fault. (Reachability) 3、If possible, identify a 阅读全文
posted @ 2018-03-14 19:01 张三喜 阅读(278) 评论(0) 推荐(0) 编辑

hw1

摘要: 1.在开发前端页面时,打开新的构建网页,出现“无样式内容闪烁”。即网页只显示html无法立即显示css样式,出现一小段时间的样式闪烁。 原因:<style type="text/css"media="all">@import"../fouc.css";</style>而引用CSS文件的@import 阅读全文
posted @ 2018-03-12 21:35 张三喜 阅读(254) 评论(0) 推荐(0) 编辑