结对编程--fault,error,failure】的更多相关文章

一.结对编程内容: 1.不能触发Fault. 2.触发Fault,但是不触发Error. 3.触发Error,但不触发Failure. 二.结对编程人员 1.周浩,周宗耀 2.结对截图: 三.结对项目编程 1.不能触发Fault: package com.hao_mini.www; import java.util.Scanner; public class True { public static void main(String[] args) { Scanner in=new Scanne…
一.结对编程内容: 1.不能触发Fault. 2.触发Fault,但是不触发Error. 3.触发Error,但不触发Failure. 二.结对编程人员 1.周宗耀.周浩: 2.结对截图: 三.结对项目编程 1.不能触发Fault: package com.hao_mini.www; import java.util.Scanner; public class True { public static void main(String[] args) { Scanner in=new Scann…
结对编程对象:叶小娟 对方博客地址:http://www.cnblogs.com/yxj63/ 双方贡献比例:1:1 结对照片: 结对题目:输入一定个数的数字,对其排序后输出最大值.   1 package com.jkxy.zy.selectsort; 2 3 import java.util.Scanner; 4 5 /** 6 * 7 * 构造程序,分别是: 8 •不能触发Fault. 9 •触发Fault,但是不能触发Error. 10 •触发Error,但是不能产生Failure.*/…
问题:给定两段代码,设计fault,error,failure的测试用例. fault:即引起错误的原因,类似病因. error:类似疾病引起的内部结果. failure:类似疾病引起的症状. 代码1: public int findLast (int[] x, int y) {//Effects: If x==null throw NullPointerException// else return the index of the last element// in x that equal…
学习进度表 点滴成就 学习时间 新编写代码行数 博客量(篇) 学到知识点 第一周 8 0 0 了解软件工程 第二周 10 0 1 博文一篇 第三周 15 0 2 选择项目.调查问卷 第四周 20 80 0 结对编程 第五周 25 330 1 java的学习.软件工程 第六周 25 210 0 编译原理.软件工程 第七周 15 0 0 软件系统设计 第八周 20 256 1 软件测试.结对编程博文 1.题目描述: 构造程序,分别是: •不能触发Fault. •触发Fault,但是不能触发Error…
Software Testing 3014218128 牛菲菲 Below are two faulty programs. Each includes a test case that results in failure.Answer the following questions (in the next slide) about each program. 1. public int findLast (int[] x, int y) {//Effects: If x==null thr…
给出的题目如下: 我的解答如下: For program 1:1. where i > 0 is the fault , it should be changed to i>= 0 to avoid x is just one element situation. 2.x[] ={} or x[]={n}(n is equal to any numb),for example x[] ={1}; //test: x[] = {};y =2 //expected = NullPointerExc…
一.问题描述:         构造程序,分别是:         •不能触发Fault         •触发Fault,但是不能触发Error         •触发Error,但是不能产生Failure 二.Fault.Error.Failure区别 Fault:可能导致系统或功能失效的异常条件,可译为“故障”. Error:计算.观察或测量值或条件,与真实.规定或理论上正确的值或条件之间的差异,译为“错误”.Error是能够导致系统出现Failure的系统内部状态. Failure:当一…
学习进度条 点滴成就 学习时间 新编写代码行数 博客量 学到知识点 第一周 8 0 0 了解软件工程 第二周 7 0 1 了解软件工程 第三周 11 0 1 用例图 第四周 6 25 0 结对编程 第五周 8 30 1 类图 第六周 11 60 0 软件工程 第七周 10 40 1 软件测试 第八周 20 150 1 软件测试 项目要求: 构造程序,分别是: 不能触发Fault. 触发Fault,但是不能触发Error. 触发Error,但是不能产生Failure. 结对对象:杜敏  学号:20…
点滴成就 学习时间 新编写代码行数 博客量(篇) 学习知识点 第一周 10小时 0 0 了解软件工程 第二周 10小时 0 1 项目开题 第三周 15小时 0 1 开通博客.开展项目调查 第四周 20小时 200 1 需求文档.用例图.代码规范 第五周 15小时 0 0 软件工程 第六周 20小时 310 0 编译原理.软件工程详细设计 第七周 18小时 88 1 软件工程 第八周 20小时 371 1 Android.编译原理.软件工程 1.编程问题 构造程序达到以下测试要求,分别是: 不能触…