FuLucas's blog

Home

About

Archives

loading..
HIT-Software-Construction

软件构造笔记二——软件测试与测试优先编程

IMPORTANCE 本章重点 什么是测试 白盒测试与黑盒测试 按阶段、分步骤测试 1. Software Testing What is Testing 软件测试:为涉众提供有关被测试产品或服务的质量信息而进行的调查,是提高软件质量的重要手段,但是软件质量取决于设计而不是testing。 - 寻找bug,确认是否达到可用级别(用户需求) - 关注系统的某一侧面的质量特性 测试无法达到100%的无错误,never completely prove the absence of errors。 residual defect rates 残留缺陷率(bugs left over after the software has shipped)。对于大的系统来说,即使残留缺陷率很低,残留的bu..

Read more
loading..
HIT-Software-Construction

软件构造笔记一——软件构造的多维视图和质量目标

多维视图和质量目标 MultiDimensionalSoftwareViews ThreeDimension Build-time Views Build-time(构造阶段):idea -> requirement -> design -> code -> installable / executable package Code-level view(代码的逻辑组织):source code -- how source code are logically organized by basic program blocks such as functions(函数), classes(类), methods(方法), interfaces(接口). Component..

Read more
loading..
HIT-Software-Construction

软件构造——实验二总结

循环判断删除list元素 错误演示增强for循环 12345678List<String> lists = new ArrayList<String>();String deleteString = "del";lists.add("del");lists.add("fhd");lists.add("test");for (String s : lists) if (s.equals(deleteString)) lists.remove(s); 删除元素后继续循环会报错误信息ConcurrentModificationException,如下图所示: 增强forError 直接原因:modCount != expectedModCount + modCoun..

Read more
1234