{"source": "Ch3-软件测试方法-GDUF版.pptx", "slide_w": 10.0, "slide_h": 5.625, "count": 109, "media": ["img-048ff66d40.png", "img-052183b850.png", "img-1cdc7148e6.png", "img-1d103b6304.jpg", "img-1f27a08bf2.png", "img-23a64d7a3c.png", "img-252d2ff7a6.png", "img-3411bf7113.png", "img-39e3b5c60b.png", "img-4b62ca5deb.wmf", "img-56a3b49f92.gif", "img-6037e2a490.jpg", "img-64c2245e5f.png", "img-6850344724.jpg", "img-6ed74c22da.gif", "img-7db23985af.png", "img-7ee911a004.png", "img-86b9822f1a.png", "img-8ab9bda424.png", "img-8bcd77423a.png", "img-91eef8d46e.png", "img-978b55c3bd.png", "img-9a78dadee4.jpg", "img-9d59be1e03.png", "img-9de2ee7969.png", "img-9ff51b43ba.png", "img-ab12dc444c.png", "img-af7d04feea.gif", "img-b07e30acb6.png", "img-b89ed694a5.png", "img-bc3871d16f.jpg", "img-bce91765f9.png", "img-c6f782c063.png", "img-cfe81ae468.png", "img-d0c5978c6b.png", "img-d1a9bea2a0.wmf", "img-d2f06d8435.png", "img-d5ee0c933b.png", "img-d94ad106b5.png", "img-dd20e272bb.png", "img-e4f4f3c80d.tiff", "img-e8dddf5ba6.png", "img-e9dbdff09d.png", "img-ed3705d0ae.png", "img-eec767f2bc.png", "img-f91e472da9.png"], "slides": [{"index": 1, "title": "软件测试方法和技术", "texts": [{"text": "软件测试方法和技术", "lines": ["软件测试方法和技术"], "left": 0.4263888888888889, "top": 2.0701388888888888, "w": 8.478372703412074, "h": 0.9870002187226596, "size": 54.0, "bold": true, "is_title": false}, {"text": "广东金融学院  周宇文", "lines": ["广东金融学院  周宇文"], "left": 4.790240594925634, "top": 4.7652777777777775, "w": 3.054239938757655, "h": 0.37916666666666665, "size": 18.0, "bold": true, "is_title": false}, {"text": "第3章 软件测试基本方法", "lines": ["第3章 软件测试基本方法"], "left": 0.4263888888888889, "top": 3.5548611111111112, "w": 6.295260279965005, "h": 0.5069444444444444, "size": 36.0, "bold": true, "is_title": false}], "pics": [{"file": "img-23a64d7a3c.png", "left": 8.211944444444445, "top": 0.177665135608049, "w": 1.5499606299212598, "h": 0.368669072615923}], "tables": [], "notes": ""}, {"index": 2, "title": "第2章 回顾", "texts": [{"text": "第2章 回顾", "lines": ["第2章 回顾"], "left": 0.7477416885389326, "top": 0.28790682414698165, "w": 3.6614588801399823, "h": 0.5429691601049869, "size": 18.0, "bold": false, "is_title": false}, {"text": "软件缺陷是软件质量的对立面\n软件缺陷(Bug)是什么\n软件测试的分类：层次、类型和方法\n静态测试与动态测试\n主动测试与被动测试\n黑盒测试与白盒测试\n测试层次：单元、集成、系统和验收\n软件测试工作范畴：测试需求分析、计划与设计、执行、结果评估", "lines": ["软件缺陷是软件质量的对立面", "软件缺陷(Bug)是什么", "软件测试的分类：层次、类型和方法", "静态测试与动态测试", "主动测试与被动测试", "黑盒测试与白盒测试", "测试层次：单元、集成、系统和验收", "软件测试工作范畴：测试需求分析、计划与设计、执行、结果评估"], "left": 1.3003051181102363, "top": 1.0304385389326334, "w": 7.91708552055993, "h": 3.5641229221347333, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 3, "title": "3.1 基于直觉和经验的方法\t", "texts": [{"text": "3.1 基于直觉和经验的方法\t\n3.2 基于输入域的方法\t\n3.3 基于组合及其优化的方法\t\n3.4 基于逻辑覆盖的方法\t\n3.5 基于缺陷模式的测试\t\n3.6 基于模型的测试\t\n3.7 形式化测试方法", "lines": ["3.1 基于直觉和经验的方法", "3.2 基于输入域的方法", "3.3 基于组合及其优化的方法", "3.4 基于逻辑覆盖的方法", "3.5 基于缺陷模式的测试", "3.6 基于模型的测试", "3.7 形式化测试方法"], "left": 1.6308880139982502, "top": 0.4086340769903762, "w": 4.98867782152231, "h": 4.232669510061243, "size": 20.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": "3.1基于直觉和经验的方法\t35\n3.1.1 Ad-hoc测试方法和ALAC测试\t36\n3.1.2 错误推测法\t37\n\n3.2 基于输入域的方法\t38\n3.2.1 等价类划分法\t38\n3.2.2 边界值分析法\t41\n\n3.3 基于组合及其优化的方法\t45\n3.3.1 判定表方法\t45\n3.3.2 因果图法\t47\n3.3.3 Pair-wise方法\t50\n3.3.4 正交试验法\t51\n\n3.4 基于逻辑覆盖的方法\t53\n3.4.1 判定覆盖\t54\n3.4.2 条件覆盖\t55\n3.4.3 判定条件覆盖\t56\n3.4.4 条件组合覆盖\t57\n3.4.5 基本路径覆盖\t59\n\n3.5 基于缺陷模式的测试\t62\n3.5.1 常见的缺陷模式\t64\n3.5.2 DPBT的测试过程\t65\n\n3.6 基于模型的测试\t65\n3.6.1 功能图法\t67\n3.6.2 模糊测试方法\t69\n\n3.7 形式化测试方法\t71\n3.7.1 形式化方法\t\n3.7.2 形式化验证\t\n3.7.3 扩展有限状态机方法"}, {"index": 4, "title": "方法论和具体方法", "texts": [{"text": "方法论和具体方法", "lines": ["方法论和具体方法"], "left": 0.68124343832021, "top": 0.2268886701662292, "w": 5.433674540682414, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}, {"text": "从方法论看，更多体现了一种哲学的思想，例如辩证统一的方法，在测试中有许多对立统一体，如静态测试和动态测试、白盒测试和黑盒测试、自动化测试和手工测试等。\n软件测试的方法论来源于软件工程的方法论，例如有面向对象的开发方法，就有面向对象的测试方法；有敏捷方法，就有和敏捷方法对应的敏捷测试。", "lines": ["从方法论看，更多体现了一种哲学的思想，例如辩证统一的方法，在测试中有许多对立统一体，如静态测试和动态测试、白盒测试和黑盒测试、自动化测试和手工测试等。", "软件测试的方法论来源于软件工程的方法论，例如有面向对象的开发方法，就有面向对象的测试方法；有敏捷方法，就有和敏捷方法对应的敏捷测试。"], "left": 0.68124343832021, "top": 1.1188298337707787, "w": 8.41029636920385, "h": 2.337818241469816, "size": 18.0, "bold": true, "is_title": false}], "pics": [{"file": "img-e8dddf5ba6.png", "left": 2.488180227471566, "top": 3.6633727034120733, "w": 4.298527996500438, "h": 1.5903565179352581}], "tables": [], "notes": ""}, {"index": 5, "title": "黑盒测试方法和白盒测试", "texts": [{"text": "黑盒测试方法和白盒测试", "lines": ["黑盒测试方法和白盒测试"], "left": 0.5812839020122484, "top": 0.21463801399825022, "w": 5.374612860892388, "h": 0.5611986001749781, "size": 18.0, "bold": false, "is_title": false}, {"text": "基于需求的测试\n数据驱动测试", "lines": ["基于需求的测试", "数据驱动测试"], "left": 0.8678379265091863, "top": 4.003436132983377, "w": 2.7174475065616797, "h": 0.9424475065616797, "size": 20.0, "bold": false, "is_title": false}, {"text": "结构化测试\n逻辑驱动测试", "lines": ["结构化测试", "逻辑驱动测试"], "left": 6.044840332458443, "top": 3.918082895888014, "w": 2.7174486001749782, "h": 0.9424475065616797, "size": 20.0, "bold": false, "is_title": false}, {"text": "客户需求", "lines": ["客户需求"], "left": 1.722928943596251, "top": 1.2480774278215223, "w": 0.9743260176610443, "h": 0.25572312468461095, "size": 13.5, "bold": false, "is_title": false}, {"text": "事件驱动", "lines": ["事件驱动"], "left": 2.4331389695512127, "top": 2.986163055759203, "w": 0.8872314681172154, "h": 0.3326479670694126, "size": 12.0, "bold": false, "is_title": false}, {"text": "输入", "lines": ["输入"], "left": 0.7259441813384377, "top": 2.5426324329999863, "w": 0.5409775272478473, "h": 0.238397709733079, "size": 13.5, "bold": false, "is_title": false}, {"text": "输出", "lines": ["输出"], "left": 3.363563669556018, "top": 2.2099844659305736, "w": 0.49990855266620443, "h": 0.28413680520512324, "size": 12.0, "bold": false, "is_title": false}], "pics": [{"file": "img-d1a9bea2a0.wmf", "left": 5.649128390201225, "top": 1.1013593613298338, "w": 1.5963542493485796, "h": 2.0000001039988873}], "tables": [], "notes": ""}, {"index": 6, "title": "过去常提“黑盒和白盒”方法", "texts": [{"text": "等价类划分法\n边界值分析法\n判定表方法\n因果图法\nPairwise方法\n正交试验法\n功能图法", "lines": ["等价类划分法", "边界值分析法", "判定表方法", "因果图法", "Pairwise方法", "正交试验法", "功能图法"], "left": 5.078742344706912, "top": 1.5131430446194225, "w": 2.0080971128608924, "h": 3.3484251968503935, "size": 20.0, "bold": false, "is_title": false}, {"text": "过去常提“黑盒和白盒”方法", "lines": ["过去常提“黑盒和白盒”方法"], "left": 0.6984426946631671, "top": 0.18562554680664917, "w": 5.711081583552056, "h": 0.6024387576552931, "size": 18.0, "bold": false, "is_title": false}, {"text": "6", "lines": ["6"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "语句覆盖\n判定覆盖\n条件覆盖\n判定条件覆盖\n条件组合覆盖\n基本路径覆盖", "lines": ["语句覆盖", "判定覆盖", "条件覆盖", "判定条件覆盖", "条件组合覆盖", "基本路径覆盖"], "left": 2.8147178477690287, "top": 1.7592224409448818, "w": 1.9490354330708661, "h": 2.756871172353456, "size": 20.0, "bold": false, "is_title": false}, {"text": "黑盒方法", "lines": ["黑盒方法"], "left": 7.500271216097988, "top": 2.6777132545931757, "w": 0.7678018372703412, "h": 1.5146489501312337, "size": 21.0, "bold": false, "is_title": false}, {"text": "白盒方法", "lines": ["白盒方法"], "left": 1.7319269466316711, "top": 2.515439632545932, "w": 0.7678018372703412, "h": 1.5146489501312337, "size": 21.0, "bold": false, "is_title": false}, {"text": "基于需求的测试方法", "lines": ["基于需求的测试方法"], "left": 8.551580271216098, "top": 2.8687029746281714, "w": 1.0473512685914261, "h": 1.1107425634295713, "size": 20.0, "bold": false, "is_title": false}, {"text": "结构化测试方法", "lines": ["结构化测试方法"], "left": 0.6984426946631671, "top": 2.0442147856517936, "w": 0.6000349956255469, "h": 2.457096456692913, "size": 20.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 7, "title": "方法论：测试方法", "texts": [{"text": "方法论：测试方法", "lines": ["方法论：测试方法"], "left": 0.6508245844269467, "top": 0.2603127734033246, "w": 5.000606955380578, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}, {"text": "7", "lines": ["7"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "上下文驱动方法\n基于需求验证的方法\n基于场景的测试方法\n基于模型的方法\n基于经验的方法", "lines": ["上下文驱动方法", "基于需求验证的方法", "基于场景的测试方法", "基于模型的方法", "基于经验的方法"], "left": 1.2295822397200349, "top": 1.534844706911636, "w": 3.5132753718285215, "h": 2.445527121609799, "size": 20.0, "bold": true, "is_title": false}], "pics": [{"file": "img-d2f06d8435.png", "left": 5.133333333333334, "top": 1.6158475503062117, "w": 4.563008530183727, "h": 3.0585837707786525}], "tables": [], "notes": ""}, {"index": 8, "title": "SWBOK对测试方法的分类", "texts": [{"text": "SWBOK对测试方法的分类", "lines": ["SWBOK对测试方法的分类"], "left": 0.6355435258092739, "top": 0.33886373578302714, "w": 5.177791994750656, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}, {"text": "8", "lines": ["8"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [{"rows": [["基于输入域的测试（IDBT）", "等价类、边界值、两两组合（pairwise）、随机测试", "黑盒测试"], ["基于代码的测试 （CBT）", "基于控制流的标准、基于数据流的标准、CBT参考模型", "白盒测试"], ["基于故障模式的测试（FBT）", "故障模型、错误猜测法、变异测试", ""], ["基于使用的测试（UBT）", "操作配置（operational profile）、用户观察启发", "黑盒测试"], ["基于模型的测试（MBT）", "决策表、有限状态机、形式化验证、TTCN3、工作流模型", ""], ["基于应用特性的测试（TBNA）", "OOS、web、real-time、SOA、embedded、safe-critical", "应用领域"]], "left": 0.6355435258092739, "top": 1.0045439632545932}], "notes": ""}, {"index": 9, "title": "3.1 基于直觉和经验的方法", "texts": [{"text": "3.1 基于直觉和经验的方法", "lines": ["3.1 基于直觉和经验的方法"], "left": 0.7608694225721785, "top": 2.19298665791776, "w": 8.293478783902012, "h": 0.8583005249343832, "size": 45.0, "bold": true, "is_title": false}, {"text": "3.1.1 Ad-hoc测试方法和ALAC测试 \n3.1.2 错误推测法", "lines": ["3.1.1 Ad-hoc测试方法和ALAC测试", "3.1.2 错误推测法"], "left": 2.4972834645669293, "top": 3.6714840332458443, "w": 5.005433070866141, "h": 0.9613812335958005, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": "3.2 基于输入域的方法\t\n3.3 基于组合及其优化的方法\t\n3.4 基于逻辑覆盖的方法\t\n3.5 基于缺陷模式的测试\t\n3.6 基于模型的测试\t\n3.7 形式化测试方法"}, {"index": 10, "title": "3.1.1 ALAC测试和随机测试", "texts": [{"text": "3.1.1 ALAC测试和随机测试", "lines": ["3.1.1 ALAC测试和随机测试"], "left": 0.6744663167104112, "top": 0.19659448818897637, "w": 5.315551181102363, "h": 0.625, "size": 18.0, "bold": false, "is_title": false}, {"text": "ALAC，是Act-like-a-customer（象客户那样做）的简写，ALAC测试方法是一种基于客户使用产品的知识开发出来的测试方法，它的出发点是著名的Pareto 80/20规律", "lines": ["ALAC，是Act-like-a-customer（象客户那样做）的简写，ALAC测试方法是一种基于客户使用产品的知识开发出来的测试方法，它的出发点是著名的Pareto 80/20规律"], "left": 0.8041546369203849, "top": 1.0739238845144357, "w": 8.39169072615923, "h": 1.078125546806649, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-3411bf7113.png", "left": 2.9045570866141732, "top": 2.336956474190726, "w": 4.769176509186352, "h": 2.8043482064741907}], "tables": [], "notes": ""}, {"index": 11, "title": "3.1.2 错误猜测法", "texts": [{"text": "3.1.2 错误猜测法", "lines": ["3.1.2 错误猜测法"], "left": 0.6418580489938758, "top": 0.24080271216097987, "w": 5.315551181102363, "h": 0.625, "size": 18.0, "bold": false, "is_title": false}, {"text": "错误推测法是测试者根据经验、知识和直觉来发现软件错误，来推测程序中可能存在的各种错误，从而有针对性的进行测试。", "lines": ["错误推测法是测试者根据经验、知识和直觉来发现软件错误，来推测程序中可能存在的各种错误，从而有针对性的进行测试。"], "left": 0.728426290463692, "top": 1.081350612423447, "w": 8.565052493438321, "h": 1.0318547681539807, "size": 20.0, "bold": false, "is_title": false}, {"text": "发现程序经常出现的错误的方法：\n单元测试中发现的模块错误；\n产品的以前版本曾经发现的错误；\n输入数据为0或字符为空；\n当软件要求输入时(比如在文本框中),不是没有输入正确的信息，而是根本没有输入任何内容，单单按了Enter键；\n… …", "lines": ["发现程序经常出现的错误的方法：", "单元测试中发现的模块错误；", "产品的以前版本曾经发现的错误；", "输入数据为0或字符为空；", "当软件要求输入时(比如在文本框中),不是没有输入正确的信息，而是根本没有输入任何内容，单单按了Enter键；", "… …"], "left": 1.6584962817147857, "top": 2.328753280839895, "w": 6.496784776902887, "h": 2.716837270341207, "size": 18.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 12, "title": "3.2 基于输入域的方法", "texts": [{"text": "3.2 基于输入域的方法", "lines": ["3.2 基于输入域的方法"], "left": 0.7608694225721785, "top": 2.19298665791776, "w": 8.293478783902012, "h": 0.8583005249343832, "size": 45.0, "bold": true, "is_title": false}, {"text": "3.2.1 等价类划分法\n3.2.2 边界值分析法", "lines": ["3.2.1 等价类划分法", "3.2.2 边界值分析法"], "left": 3.812501093613298, "top": 3.247571084864392, "w": 2.8722812773403326, "h": 0.9562631233595801, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": "3.2 基于输入域的方法\t\n3.3 基于组合及其优化的方法\t\n3.4 基于逻辑覆盖的方法\t\n3.5 基于缺陷模式的测试\t\n3.6 基于模型的测试\t\n3.7 形式化测试方法"}, {"index": 13, "title": "3.2.1 等价类划分方法", "texts": [{"text": "3.2.1 等价类划分方法", "lines": ["3.2.1 等价类划分方法"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "等价类是某个输入域的子集，在该子集中每个输入数据的作用是等效的.\n将输入数据分成若干个等价类，从每个等价类选取一个代表性的数据作为测试用例\n等价类分为有效等价类（合理的数据）和无效等价类（异常的数据）", "lines": ["等价类是某个输入域的子集，在该子集中每个输入数据的作用是等效的.", "将输入数据分成若干个等价类，从每个等价类选取一个代表性的数据作为测试用例", "等价类分为有效等价类（合理的数据）和无效等价类（异常的数据）"], "left": 0.6841896325459318, "top": 1.3218503937007875, "w": 5.172518591426072, "h": 3.4772397200349956, "size": 20.0, "bold": false, "is_title": false}, {"text": "all inputs", "lines": ["all inputs"], "left": 5.681659011373578, "top": 3.1713590265502534, "w": 1.338715925795315, "h": 0.49476096737907765, "size": 13.5, "bold": false, "is_title": false}, {"text": "i1", "lines": ["i1"], "left": 7.9148668424407065, "top": 2.132753662488618, "w": 0.42004856362426357, "h": 0.45745756110843294, "size": 15.0, "bold": false, "is_title": false}, {"text": "i4", "lines": ["i4"], "left": 9.060179113042116, "top": 2.572541189047798, "w": 0.4517788508045137, "h": 0.45745756110843294, "size": 15.0, "bold": false, "is_title": false}, {"text": "i2", "lines": ["i2"], "left": 7.041528461955727, "top": 2.8552617418358412, "w": 0.4517788508045137, "h": 0.45745756110843294, "size": 15.0, "bold": false, "is_title": false}, {"text": "i3", "lines": ["i3"], "left": 8.301674152828518, "top": 3.0123287156069782, "w": 0.32485770208351317, "h": 0.7107280563143893, "size": 15.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 14, "title": "等价类划分方法应用示例", "texts": [{"text": "等价类划分方法应用示例", "lines": ["等价类划分方法应用示例"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "输入条件规定了取值范围或值的个数，则可以划分为一个有效等价类和两个无效等价类\n输入条件规定了输入值的集合，可以确立一个有效等价类和一个无效等价类\nN个条件……", "lines": ["输入条件规定了取值范围或值的个数，则可以划分为一个有效等价类和两个无效等价类", "输入条件规定了输入值的集合，可以确立一个有效等价类和一个无效等价类", "N个条件……"], "left": 0.5450339020122484, "top": 1.4525076552930885, "w": 4.182251749781277, "h": 3.1514501312335956, "size": 18.0, "bold": false, "is_title": false}, {"text": "in range", "lines": ["in range"], "left": 7.223327448059207, "top": 1.7164284032004349, "w": 0.6318213168193834, "h": 0.30338568253884796, "size": 12.0, "bold": true, "is_title": false}, {"text": "greater than range", "lines": ["greater than range"], "left": 8.444380686711202, "top": 1.7301006387755749, "w": 1.2357059363481204, "h": 0.3033858004195259, "size": 12.0, "bold": true, "is_title": false}, {"text": "less than range", "lines": ["less than range"], "left": 5.438358971865495, "top": 1.716428395903771, "w": 1.0347693254227301, "h": 0.3033856898355116, "size": 12.0, "bold": true, "is_title": false}, {"text": "value", "lines": ["value"], "left": 7.16949365704287, "top": 2.723449256342957, "w": 0.7805479002624672, "h": 0.3029297900262467, "size": 12.0, "bold": true, "is_title": false}, {"text": "greater than value", "lines": ["greater than value"], "left": 8.234702614306498, "top": 2.7672094594318795, "w": 1.2217369016284811, "h": 0.3033854662024168, "size": 12.0, "bold": true, "is_title": false}, {"text": "less than value", "lines": ["less than value"], "left": 5.853670874264319, "top": 2.7834354494750655, "w": 1.0208003536750299, "h": 0.3033854166666667, "size": 12.0, "bold": true, "is_title": false}, {"text": "not member of set", "lines": ["not member of set"], "left": 6.058650481189852, "top": 4.125727252843394, "w": 1.5016054243219596, "h": 0.3029297900262467, "size": 12.0, "bold": true, "is_title": false}, {"text": "member of set", "lines": ["member of set"], "left": 7.611036745406825, "top": 3.9612751531058614, "w": 1.434896106736658, "h": 0.3029297900262467, "size": 12.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 15, "title": "练习", "texts": [{"text": "练习", "lines": ["练习"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "有效等价类如何划分？\n无效等价类呢？", "lines": ["有效等价类如何划分？", "无效等价类呢？"], "left": 0.44661417322834646, "top": 2.1178073053368327, "w": 2.7595713035870517, "h": 1.538209755030621, "size": 20.0, "bold": false, "is_title": false}, {"text": "等价类1: Integer\n等价类2: Decimal fraction\n等价类3: Negative\n等价类4: Invalid input", "lines": ["等价类1: Integer", "等价类2: Decimal fraction", "等价类3: Negative", "等价类4: Invalid input"], "left": 7.0377602799650045, "top": 2.1637489063867017, "w": 2.9622397200349955, "h": 1.5091097987751532, "size": 16.0, "bold": false, "is_title": false}], "pics": [{"file": "img-86b9822f1a.png", "left": 3.4969728783902014, "top": 1.5587390638670167, "w": 3.25, "h": 2.9609372265966756}], "tables": [], "notes": ""}, {"index": 16, "title": "3.2.2 边界值分析方法", "texts": [{"text": "3.2.2 边界值分析方法", "lines": ["3.2.2 边界值分析方法"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "很多错误发生在输入或输出范围的边界上，因此针对各种边界情况设置测试用例，可以更有效地发现缺陷。\n设计方法：\n确定边界情况（输入或输出等价类的边界）\n选取正好等于、刚刚大于或小于边界值作为测试数据", "lines": ["很多错误发生在输入或输出范围的边界上，因此针对各种边界情况设置测试用例，可以更有效地发现缺陷。", "设计方法：", "确定边界情况（输入或输出等价类的边界）", "选取正好等于、刚刚大于或小于边界值作为测试数据"], "left": 0.7675043744531933, "top": 1.7118143044619423, "w": 6.655176071741033, "h": 2.8854166666666665, "size": 18.0, "bold": false, "is_title": false}, {"text": "BVA – Boundary Value Analysis", "lines": ["BVA – Boundary Value Analysis"], "left": 0.7675043744531933, "top": 0.9121883202099738, "w": 4.016000656167979, "h": 0.49920384951881014, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 17, "title": "示例1", "texts": [{"text": "示例1", "lines": ["示例1"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "如果输入条件规定了值的范围，则应取刚达到这个范围的边界的值，以及刚刚超越这个范围边界的值作为测试输入数据。\n\n\n如果输入条件规定了值的个数，则用最大个数、最小个数、比最小个数少一、比最大个数多一的数作为测试数据。", "lines": ["如果输入条件规定了值的范围，则应取刚达到这个范围的边界的值，以及刚刚超越这个范围边界的值作为测试输入数据。", "如果输入条件规定了值的个数，则用最大个数、最小个数、比最小个数少一、比最大个数多一的数作为测试数据。"], "left": 0.9261767279090114, "top": 0.9921894138232721, "w": 8.505030621172354, "h": 2.5690102799650045, "size": 18.0, "bold": false, "is_title": false}, {"text": "a", "lines": ["a"], "left": 3.9065566218285217, "top": 2.278084227475844, "w": 0.3255208333333333, "h": 0.3697911920545384, "size": 16.0, "bold": true, "is_title": false}, {"text": "b", "lines": ["b"], "left": 6.066712871828521, "top": 2.3067300240434494, "w": 0.33854166666666663, "h": 0.3697911920545384, "size": 16.0, "bold": true, "is_title": false}, {"text": "a", "lines": ["a"], "left": 3.71427928362749, "top": 4.514972012542359, "w": 0.32682290777981937, "h": 0.3697917669851992, "size": 16.0, "bold": true, "is_title": false}, {"text": "b", "lines": ["b"], "left": 6.313237546290916, "top": 4.514972012542359, "w": 0.33854165746116754, "h": 0.3697917669851992, "size": 16.0, "bold": true, "is_title": false}, {"text": "{X} =（1，5，10，15，20）", "lines": ["{X} =（1，5，10，15，20）"], "left": 3.7333125546806647, "top": 4.924017935258092, "w": 2.8788845144356956, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}, {"text": "（1,20]  即  1< x <= 20", "lines": ["（1,20]  即  1< x <= 20"], "left": 3.7333125546806647, "top": 2.6290594925634294, "w": 2.2477810586176727, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 18, "title": "示例2", "texts": [{"text": "示例2", "lines": ["示例2"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "Test cases :\n任意的正常值:      随机选择几个选项 \u000b边界值:   选择所有选项 \u000b边界值:   一个都不选\u000b边界值:  选择一个选项", "lines": ["Test cases :", "任意的正常值:      随机选择几个选项 \u000b边界值:   选择所有选项 \u000b边界值:   一个都不选\u000b边界值:  选择一个选项"], "left": 0.22762576552930883, "top": 3.189189632545932, "w": 3.7184459755030623, "h": 1.3955807086614174, "size": 14.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 19, "title": "一些特殊的边界值", "texts": [{"text": "一些特殊的边界值", "lines": ["一些特殊的边界值"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "二进制", "lines": ["二进制"], "left": 0.358173665791776, "top": 1.0723600174978127, "w": 1.0902055993000874, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}, {"text": "ASCII Table", "lines": ["ASCII Table"], "left": 5.0, "top": 0.7223676727909011, "w": 1.935566491688539, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}], "pics": [], "tables": [{"rows": [["Term", "取值范围"], ["Bit\nNibble\nByte\nWord\nKilo\nMega\nGiga\nTera", "0 or 1\n0-15  <Half byte>\n0-255\n0-65535 or 0-4294967295\n1024\n1048576\n1073741824\n1099511627776"]], "left": 0.358173665791776, "top": 1.476266404199475}, {"rows": [["Character", "ASCII Value", "Character", "ASCII Value"], ["Null\nSpace\n/\n0\n1\n2\n9\n;\n@\nA", "0\n32\n47\n48\n49\n50\n57\n58\n64\n65", "B\nY\nZ\n[\n‘\na\nb\ny\nz\n{", "66\n89\n90\n91\n96\n97\n98\n121\n122\n123"]], "left": 5.0, "top": 1.1262740594925635}], "notes": ""}, {"index": 20, "title": "一些特殊的边界值 –续", "texts": [{"text": "一些特殊的边界值 –续", "lines": ["一些特殊的边界值 –续"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 20.0, "bold": false, "is_title": false}, {"text": "缺省值、空格、(none)、0、Null等", "lines": ["缺省值、空格、(none)、0、Null等"], "left": 0.31882327209098865, "top": 4.569347112860893, "w": 3.9904560367454067, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}, {"text": "数值\n字符\n位置\n数量\n速度\n位置\n体积", "lines": ["数值", "字符", "位置", "数量", "速度", "位置", "体积"], "left": 4.774128390201225, "top": 1.4815693350831145, "w": 0.7656255468066492, "h": 3.1302734033245843, "size": 18.0, "bold": true, "is_title": false}, {"text": "First/last， First-1/Last+1\nMin/Max，Min-1/max+1\nStar/Finish， Start-1/Finish+1\nEmpty/Full\nLess than empty/ more than full\nSlower/Faster\nLargest/Smallest\nOver/Under， just Over/Just Under\nShortest/Longest\n… …", "lines": ["First/last， First-1/Last+1", "Min/Max，Min-1/max+1", "Star/Finish， Start-1/Finish+1", "Empty/Full", "Less than empty/ more than full", "Slower/Faster", "Largest/Smallest", "Over/Under， just Over/Just Under", "Shortest/Longest", "… …"], "left": 6.308370516185477, "top": 1.1782174103237095, "w": 3.6916294838145234, "h": 3.761376859142607, "size": 15.0, "bold": true, "is_title": false}], "pics": [{"file": "img-6850344724.jpg", "left": 0.31882327209098865, "top": 1.4081025809273842, "w": 4.085369641294838, "h": 2.9836504811898514}], "tables": [], "notes": ""}, {"index": 21, "title": "练习", "texts": [{"text": "练习", "lines": ["练习"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "用边界值方法设计下列测试数据\nUsername\n规则：12个字符以内，不能为空\n   只能用字母、数字、_ 、-，不能用空格\n   以字母开始\n   大小写不敏感\n\n2. Password\n 规则：不少于6个字符\n 大小写敏感", "lines": ["用边界值方法设计下列测试数据", "Username", "规则：12个字符以内，不能为空", "只能用字母、数字、_ 、-，不能用空格", "以字母开始", "大小写不敏感", "2. Password", "规则：不少于6个字符", "大小写敏感"], "left": 1.9047069116360456, "top": 0.8799945319335083, "w": 4.5592104111986, "h": 4.254025590551181, "size": 18.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 22, "title": "3.3 基于组合及其优化的方法", "texts": [{"text": "3.3 基于组合及其优化的方法", "lines": ["3.3 基于组合及其优化的方法"], "left": 0.8293197725284339, "top": 2.063248031496063, "w": 8.341360454943132, "h": 0.8583005249343832, "size": 45.0, "bold": true, "is_title": false}, {"text": "3.3.1 判定表方法\n3.3.2 因果图法\n3.3.3 Pair-wise方法\n3.3.4 正交试验法", "lines": ["3.3.1 判定表方法", "3.3.2 因果图法", "3.3.3 Pair-wise方法", "3.3.4 正交试验法"], "left": 3.6192344706911634, "top": 3.311751968503937, "w": 2.7615299650043745, "h": 1.8723447069116361, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 23, "title": "3.3.1 判定表方法", "texts": [{"text": "3.3.1 判定表方法", "lines": ["3.3.1 判定表方法"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 28.0, "bold": false, "is_title": false}, {"text": "在实际应用中，许多输入是由多个因素构成，而不是单一因素，这时就需要多因素组合分析。\n对于多因素，有时可以直接对输入条件（成立或不成立）进行组合设计，不需要进行因果分析，这时就采用判定表方法。\n判定表由“条件和活动”两部分组成，即列出一个测试活动执行所需的条件组合，所有可能的条件（输入）组合定义了一系列的选择，而测试活动（结果输出）需要考虑每一个选择。", "lines": ["在实际应用中，许多输入是由多个因素构成，而不是单一因素，这时就需要多因素组合分析。", "对于多因素，有时可以直接对输入条件（成立或不成立）进行组合设计，不需要进行因果分析，这时就采用判定表方法。", "判定表由“条件和活动”两部分组成，即列出一个测试活动执行所需的条件组合，所有可能的条件（输入）组合定义了一系列的选择，而测试活动（结果输出）需要考虑每一个选择。"], "left": 0.6365234033245845, "top": 1.1587729658792651, "w": 8.301619641294838, "h": 3.3074540682414697, "size": 18.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 24, "title": "判定表方法术语及应用", "texts": [{"text": "判定表方法术语及应用", "lines": ["判定表方法术语及应用"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 28.0, "bold": false, "is_title": false}, {"text": "条件桩：问题的所有条件\n动作桩：针对问题所采取的动作\n条件项：所列条件的具体赋值（输出） \n动作项：在条件项组合情况下应采取的动作（输出）\n规则：任何一个条件组合的特定取值及其相应的动作", "lines": ["条件桩：问题的所有条件", "动作桩：针对问题所采取的动作", "条件项：所列条件的具体赋值（输出）", "动作项：在条件项组合情况下应采取的动作（输出）", "规则：任何一个条件组合的特定取值及其相应的动作"], "left": 0.3598556430446194, "top": 1.247872922134733, "w": 4.815403543307086, "h": 3.1768996062992128, "size": 18.0, "bold": true, "is_title": false}, {"text": "条件桩", "lines": ["条件桩"], "left": 5.633375984251969, "top": 1.9094586614173228, "w": 0.26188210848643917, "h": 0.9087893700787402, "size": 16.0, "bold": false, "is_title": false}, {"text": "动作桩", "lines": ["动作桩"], "left": 5.5713156167979, "top": 3.047622484689414, "w": 0.38600503062117236, "h": 0.9087893700787402, "size": 16.0, "bold": false, "is_title": false}, {"text": "规则", "lines": ["规则"], "left": 7.036953193350831, "top": 0.6435772090988626, "w": 0.7076388888888889, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}, {"text": "最后每一列需要设计一条测试用例覆盖，有几条规则（组合）就有几条测试用例", "lines": ["最后每一列需要设计一条测试用例覆盖，有几条规则（组合）就有几条测试用例"], "left": 0.6028083989501313, "top": 4.602582020997375, "w": 9.14490048118985, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-ab12dc444c.png", "left": 5.190795056867891, "top": 1.3754768153980752, "w": 4.781033464566929, "h": 3.0492957130358707}], "tables": [], "notes": ""}, {"index": 25, "title": "判定表组合优化讨论", "texts": [{"text": "判定表组合优化讨论", "lines": ["判定表组合优化讨论"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 28.0, "bold": false, "is_title": false}, {"text": "条件桩", "lines": ["条件桩"], "left": 1.740825678040245, "top": 2.002243000874891, "w": 0.26188210848643917, "h": 0.9087893700787402, "size": 16.0, "bold": false, "is_title": false}, {"text": "动作桩", "lines": ["动作桩"], "left": 1.6167027559055118, "top": 3.540576334208224, "w": 0.38600503062117236, "h": 0.9087893700787402, "size": 16.0, "bold": false, "is_title": false}, {"text": "-", "lines": ["-"], "left": 5.752575459317585, "top": 2.4085936132983377, "w": 0.386003937007874, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "-", "lines": ["-"], "left": 6.427215660542432, "top": 2.4085936132983377, "w": 0.386003937007874, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-ab12dc444c.png", "left": 1.328066491688539, "top": 0.9183038057742782, "w": 6.991521216097988, "h": 4.459122922134733}], "tables": [], "notes": ""}, {"index": 26, "title": "判定表方法示例", "texts": [{"text": "判定表方法示例", "lines": ["判定表方法示例"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 28.0, "bold": false, "is_title": false}], "pics": [], "tables": [{"rows": [["", "ID", "项目名称", "R1", "R2", "R3", "R4", "R5"], ["条件项", "C1", "此商品在经营范围", "N", "Y", "Y", "Y", "Y"], ["", "C2", "此商品可以发货", "-", "Y", "Y", "N", "N"], ["", "C3", "此客户没有拖欠过付款", "-", "Y", "N", "Y", "N"], ["动作项", "A1", "货到后允许客户转账", "", "1", "", "", ""], ["", "A2", "货到客户必须立即付款", "", "", "1", "", ""], ["", "A3", "重新组织货源", "", "", "", "1", "1"], ["", "A4", "电话通知", "", "", "", "1", ""], ["", "A5", "书面通知", "1", "", "", "", "1"]], "left": 1.1762171916010498, "top": 1.0135761154855643}], "notes": ""}, {"index": 27, "title": "3.3.2 因果图方法", "texts": [{"text": "3.3.2 因果图方法", "lines": ["3.3.2 因果图方法"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "针对更为复杂的“多种输入条件、产生多种结果”设计组合测试用例。\n设计方法：\n分析软件Spec描述的哪些是原因（输入条件）、哪些是结果（输出），给每个原因和结果赋予一个标示符。\n找出原因与结果、原因与原因之间的对应关系，画出因果图\n在因果图上标上哪些不可能发生的因果关系，表明约束或限制条件\n根据因果图，创建（转化为）判定表，将复杂的逻辑关系转化为简单的组合矩阵\n把判定表的每一列转化为测试用例。", "lines": ["针对更为复杂的“多种输入条件、产生多种结果”设计组合测试用例。", "设计方法：", "分析软件Spec描述的哪些是原因（输入条件）、哪些是结果（输出），给每个原因和结果赋予一个标示符。", "找出原因与结果、原因与原因之间的对应关系，画出因果图", "在因果图上标上哪些不可能发生的因果关系，表明约束或限制条件", "根据因果图，创建（转化为）判定表，将复杂的逻辑关系转化为简单的组合矩阵", "把判定表的每一列转化为测试用例。"], "left": 0.7488112423447069, "top": 1.0611975065616799, "w": 8.663559711286089, "h": 3.928493000874891, "size": 16.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 28, "title": "因果图的基本符号", "texts": [{"text": "因果图的基本符号", "lines": ["因果图的基本符号"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 28.0, "bold": true, "is_title": false}, {"text": "有因必有果关系\n非-关系：只有当因 i 不存在时，果 j 才出现\n或-关系：如果因 i1 或因 i2 或……因 in 存在时，结果 j 才出现。\n与-关系：只有当因 i1 与因 i2 与……因 in 同时存在时，结果 j 才出现。", "lines": ["有因必有果关系", "非-关系：只有当因 i 不存在时，果 j 才出现", "或-关系：如果因 i1 或因 i2 或……因 in 存在时，结果 j 才出现。", "与-关系：只有当因 i1 与因 i2 与……因 in 同时存在时，结果 j 才出现。"], "left": 0.7974496937882765, "top": 1.1221292650918635, "w": 6.43029636920385, "h": 2.957211286089239, "size": 18.0, "bold": true, "is_title": false}, {"text": "i", "lines": ["i"], "left": 3.2348643919510063, "top": 1.2889446631671042, "w": 0.25, "h": 0.25, "size": 13.5, "bold": false, "is_title": false}, {"text": "j", "lines": ["j"], "left": 4.484864391951007, "top": 1.2889446631671042, "w": 0.25, "h": 0.25, "size": 13.5, "bold": false, "is_title": false}, {"text": "i", "lines": ["i"], "left": 6.6981496062992125, "top": 1.7870702099737532, "w": 0.25, "h": 0.25, "size": 13.5, "bold": false, "is_title": false}, {"text": "j", "lines": ["j"], "left": 7.9481496062992125, "top": 1.7870702099737532, "w": 0.25, "h": 0.25, "size": 13.5, "bold": false, "is_title": false}, {"text": "j", "lines": ["j"], "left": 9.396307036139714, "top": 2.9386790869073303, "w": 0.3173620364762097, "h": 0.33194321913949243, "size": 13.5, "bold": false, "is_title": false}, {"text": "", "lines": [""], "left": 8.550008272203154, "top": 2.86260876585453, "w": 0.39670254559526213, "h": 0.5048303124413114, "size": 24.0, "bold": true, "is_title": false}, {"text": "i1", "lines": ["i1"], "left": 7.65081583552056, "top": 2.2661482939632545, "w": 0.3173620364762097, "h": 0.33194321913949243, "size": 9.0, "bold": true, "is_title": false}, {"text": "i2", "lines": ["i2"], "left": 7.65081583552056, "top": 2.772707477337584, "w": 0.3173620364762097, "h": 0.33194321913949243, "size": 10.5, "bold": true, "is_title": false}, {"text": "in", "lines": ["in"], "left": 7.677262671893577, "top": 3.5852768158561332, "w": 0.3173620364762097, "h": 0.33194321913949243, "size": 10.5, "bold": true, "is_title": false}, {"text": "j", "lines": ["j"], "left": 5.716148462211455, "top": 4.448749800744802, "w": 0.3147789218655361, "h": 0.319886548212887, "size": 13.5, "bold": false, "is_title": false}, {"text": "", "lines": [""], "left": 4.893132739417188, "top": 4.340454875568565, "w": 0.39347365233192005, "h": 0.5048209588984622, "size": 24.0, "bold": true, "is_title": false}, {"text": "i1", "lines": ["i1"], "left": 3.9848643919510063, "top": 3.8006463254593177, "w": 0.3147789218655361, "h": 0.319886548212887, "size": 10.5, "bold": true, "is_title": false}, {"text": "i2", "lines": ["i2"], "left": 3.9848643919510063, "top": 4.28880652663836, "w": 0.3147789218655361, "h": 0.319886548212887, "size": 10.5, "bold": true, "is_title": false}, {"text": "in", "lines": ["in"], "left": 4.011095968773134, "top": 5.071862139451155, "w": 0.3147789218655361, "h": 0.319886548212887, "size": 10.5, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 29, "title": "条件之间的关系", "texts": [{"text": "条件之间的关系", "lines": ["条件之间的关系"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "E（互斥）：最多只能有一个条件被满足\nI（包含）：至少有一个条件被满足\nO（唯一）：正好（只能一个）条件满足\nR（要求）：满足了条件 a 要求满足条件 b\nM（屏蔽）：满足条件 a 隐含的要求不满足条件 b\nIR（无关）：如果满足了条件 a，条件b 就无关重要了", "lines": ["E（互斥）：最多只能有一个条件被满足", "I（包含）：至少有一个条件被满足", "O（唯一）：正好（只能一个）条件满足", "R（要求）：满足了条件 a 要求满足条件 b", "M（屏蔽）：满足条件 a 隐含的要求不满足条件 b", "IR（无关）：如果满足了条件 a，条件b 就无关重要了"], "left": 1.0320242782152231, "top": 2.500097331583552, "w": 5.5411187664042, "h": 2.753996062992126, "size": 16.0, "bold": false, "is_title": false}, {"text": "b1", "lines": ["b1"], "left": 1.5864282126834195, "top": 1.2466863517060367, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "bn", "lines": ["bn"], "left": 1.5864282126834195, "top": 1.8378320027704027, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "E", "lines": ["E"], "left": 0.8671948818897638, "top": 1.5422579469236386, "w": 0.32965886205811856, "h": 0.3656626169134016, "size": 16.2, "bold": false, "is_title": false}, {"text": ".\n.\n.", "lines": [".", ".", "."], "left": 1.652731149344861, "top": 1.4992904404868455, "w": 0.22798092172397025, "h": 0.5096939045249814, "size": 12.6, "bold": false, "is_title": false}, {"text": "b1", "lines": ["b1"], "left": 2.95859193760929, "top": 1.2466863517060367, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "bn", "lines": ["bn"], "left": 2.95859193760929, "top": 1.8378320027704027, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "I", "lines": ["I"], "left": 2.279716363431101, "top": 1.5422579469236386, "w": 0.2420058096078648, "h": 0.3656626169134016, "size": 16.2, "bold": false, "is_title": false}, {"text": ".\n.\n.", "lines": [".", ".", "."], "left": 3.0248939663347003, "top": 1.4992904404868455, "w": 0.22798092172397025, "h": 0.5096939045249814, "size": 12.6, "bold": false, "is_title": false}, {"text": "b1", "lines": ["b1"], "left": 4.201034301985446, "top": 1.2466863517060367, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "bn", "lines": ["bn"], "left": 4.201034301985446, "top": 1.8378320027704027, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "O", "lines": ["O"], "left": 3.4702701835873713, "top": 1.5422579469236386, "w": 0.35595541334841696, "h": 0.3656626169134016, "size": 16.2, "bold": false, "is_title": false}, {"text": ".\n.\n.", "lines": [".", ".", "."], "left": 4.267336330710855, "top": 1.4992904404868455, "w": 0.22798092172397025, "h": 0.5096939045249814, "size": 12.6, "bold": false, "is_title": false}, {"text": "a", "lines": ["a"], "left": 5.847054232516269, "top": 1.2466863517060367, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "b", "lines": ["b"], "left": 5.847054232516269, "top": 1.8378320027704027, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "R", "lines": ["R"], "left": 5.338257775503261, "top": 1.5422579469236386, "w": 0.3436828420059813, "h": 0.3656626169134016, "size": 16.2, "bold": false, "is_title": false}, {"text": "a", "lines": ["a"], "left": 6.95977523634271, "top": 1.2466863517060367, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "b", "lines": ["b"], "left": 6.95977523634271, "top": 1.8378320027704027, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "M", "lines": ["M"], "left": 6.439447991725283, "top": 1.5422579469236386, "w": 0.3682261688187889, "h": 0.3656626169134016, "size": 16.2, "bold": false, "is_title": false}, {"text": "a", "lines": ["a"], "left": 8.058082755663627, "top": 1.2466863517060367, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "b", "lines": ["b"], "left": 8.058082755663627, "top": 1.8378320027704027, "w": 0.39348767303278515, "h": 0.29557241542732254, "size": 12.6, "bold": false, "is_title": false}, {"text": "IR", "lines": ["IR"], "left": 7.520459329639572, "top": 1.5422579469236386, "w": 0.4067934755794593, "h": 0.3656626169134016, "size": 16.2, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 30, "title": "示例", "texts": [{"text": "示例", "lines": ["示例"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "", "lines": [""], "left": 2.05855579447278, "top": 2.0729178461658266, "w": 0.43614777201145316, "h": 0.40353660798944635, "size": 18.0, "bold": true, "is_title": false}, {"text": "A", "lines": ["A"], "left": 0.8646012685914259, "top": 1.4761165791776028, "w": 0.34891821760916253, "h": 0.2968545162221215, "size": 12.6, "bold": false, "is_title": false}, {"text": "B", "lines": ["B"], "left": 0.8646012685914259, "top": 2.066733377077865, "w": 0.34891821760916253, "h": 0.2968545162221215, "size": 16.2, "bold": true, "is_title": false}, {"text": "C", "lines": ["C"], "left": 0.8936777867255227, "top": 2.6558040577061375, "w": 0.34891821760916253, "h": 0.2968545162221215, "size": 16.2, "bold": false, "is_title": false}, {"text": "E", "lines": ["E"], "left": 0.3684831583552056, "top": 1.771424978127734, "w": 0.42524409448818895, "h": 0.4644922900262467, "size": 21.6, "bold": false, "is_title": false}, {"text": "", "lines": [""], "left": 2.1766791521887177, "top": 3.62893026869678, "w": 0.43614777201145316, "h": 0.4044642783526405, "size": 18.0, "bold": true, "is_title": false}, {"text": "D", "lines": ["D"], "left": 0.9354752843394575, "top": 3.24796697287839, "w": 0.34891821760916253, "h": 0.23748361297769716, "size": 12.6, "bold": false, "is_title": false}, {"text": "E", "lines": ["E"], "left": 0.9645518024735542, "top": 4.191716955701218, "w": 0.34891821760916253, "h": 0.23748361297769716, "size": 16.2, "bold": false, "is_title": false}, {"text": "R", "lines": ["R"], "left": 0.5102311898512686, "top": 3.5432753718285213, "w": 0.42524409448818895, "h": 0.4644922900262467, "size": 21.6, "bold": false, "is_title": false}, {"text": "", "lines": [""], "left": 3.452541229221348, "top": 2.847388724846894, "w": 0.4361476377952756, "h": 0.4644922900262467, "size": 21.6, "bold": true, "is_title": false}, {"text": "（A or B or C） And (D or E)", "lines": ["（A or B or C） And (D or E)"], "left": 5.813661417322835, "top": 1.4761165791776028, "w": 3.094511154855643, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "（互斥）", "lines": ["（互斥）"], "left": 0.0373403324584427, "top": 2.0967224409448817, "w": 0.9922364391951006, "h": 0.3736132983377078, "size": 16.2, "bold": false, "is_title": false}, {"text": "（要求）", "lines": ["（要求）"], "left": 0.16288932633420822, "top": 3.8698403324584425, "w": 1.1135465879265092, "h": 0.3736132983377078, "size": 16.2, "bold": false, "is_title": false}], "pics": [], "tables": [{"rows": [["A", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0"], ["B", "0", "0", "0", "0", "1", "1", "1", "1", "0", "0"], ["C", "0", "1", "0", "0", "0", "0", "0", "0", "1", "1"], ["D", "0", "0", "0", "1", "0", "1", "0", "1", "0", "1"], ["E", "0", "0", "1", "1", "0", "1", "0", "1", "0", "1"], ["结果", "0", "0", "0", "0", "0", "1", "0", "1", "0", "1"]], "left": 4.8982961504811895, "top": 2.0237904636920385}], "notes": ""}, {"index": 31, "title": "因果图方法设计工具", "texts": [{"text": "因果图方法设计工具", "lines": ["因果图方法设计工具"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 28.0, "bold": true, "is_title": false}, {"text": "BenderRBT Cause-Effect Graphing", "lines": ["BenderRBT Cause-Effect Graphing"], "left": 2.857399387576553, "top": 0.8799945319335083, "w": 3.3027055993000873, "h": 0.3736132983377078, "size": 16.2, "bold": false, "is_title": false}, {"text": "http://www.benderrbt.com/bendersoftware.htm#over", "lines": ["http://www.benderrbt.com/bendersoftware.htm#over"], "left": 3.5423950131233597, "top": 5.0711657917760276, "w": 4.3751312335958, "h": 0.3029297900262467, "size": 12.0, "bold": false, "is_title": false}], "pics": [{"file": "img-e4f4f3c80d.tiff", "left": 0.29344488188976375, "top": 1.2111198600174977, "w": 6.819958442694663, "h": 4.161494969378827}, {"file": "img-e9dbdff09d.png", "left": 7.388659230096238, "top": 1.2111198600174977, "w": 2.4, "h": 3.7890627734033244}], "tables": [], "notes": ""}, {"index": 32, "title": "3.3.3 Pairwise方法", "texts": [{"text": "3.3.3 Pairwise方法", "lines": ["3.3.3 Pairwise方法"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "背景：大部分缺陷是在两个变量取值冲突的测试时被发现的 \n处理的问题：多个变量、每个变量有多个取值的组合数太大（不再是条件成立、不成立两种情况）\n定义：确保某个变量取值和另一个变量取值成对出现都会被覆盖\n效果：可大幅度降低组合的数量", "lines": ["背景：大部分缺陷是在两个变量取值冲突的测试时被发现的", "处理的问题：多个变量、每个变量有多个取值的组合数太大（不再是条件成立、不成立两种情况）", "定义：确保某个变量取值和另一个变量取值成对出现都会被覆盖", "效果：可大幅度降低组合的数量"], "left": 0.18424103237095363, "top": 1.1333628608923885, "w": 9.631516841644794, "h": 1.9697298775153105, "size": 18.0, "bold": true, "is_title": false}, {"text": "（两两组合）", "lines": ["（两两组合）"], "left": 1.1056714785651793, "top": 0.7391076115485564, "w": 1.7293810148731408, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-bce91765f9.png", "left": 3.8451279527559055, "top": 2.472036307961505, "w": 4.69498687664042, "h": 2.569200568678915}], "tables": [], "notes": ""}, {"index": 33, "title": "5. Pairwise具体示例", "texts": [{"text": "5. Pairwise具体示例", "lines": ["5. Pairwise具体示例"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "A：A1、A2、A3\nB：B1、B2、B3\nC：C1、C2、C3", "lines": ["A：A1、A2、A3", "B：B1、B2、B3", "C：C1、C2、C3"], "left": 0.48450240594925637, "top": 1.7050656167979004, "w": 2.5464260717410325, "h": 1.3511734470691164, "size": 18.0, "bold": false, "is_title": false}, {"text": "（两两组合）", "lines": ["（两两组合）"], "left": 1.1056714785651793, "top": 0.7391076115485564, "w": 1.7293810148731408, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "完全组合测试数是多少？", "lines": ["完全组合测试数是多少？"], "left": 0.48450240594925637, "top": 3.477403762029746, "w": 2.97880905511811, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "开始两两组合设计", "lines": ["开始两两组合设计"], "left": 5.234744094488189, "top": 0.709103237095363, "w": 2.2530391513560803, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "A1、B1、C1\nA1、B2、C2\nA1、B3、C3", "lines": ["A1、B1、C1", "A1、B2、C2", "A1、B3、C3"], "left": 5.306909448818898, "top": 1.0438221784776902, "w": 2.5464260717410325, "h": 1.3511734470691164, "size": 18.0, "bold": false, "is_title": false}, {"text": "A2、B1、C2\nA2、B2、C3\nA2、B3、C1", "lines": ["A2、B1、C2", "A2、B2、C3", "A2、B3、C1"], "left": 5.306909448818898, "top": 2.3949956255468066, "w": 2.5464260717410325, "h": 1.3511734470691164, "size": 18.0, "bold": false, "is_title": false}, {"text": "A3、B1、C3\nA3、B2、C1\nA3、B3、C2", "lines": ["A3、B1、C3", "A3、B2、C1", "A3、B3、C2"], "left": 5.306909448818898, "top": 3.746169072615923, "w": 2.5464260717410325, "h": 1.3511734470691164, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 34, "title": "Pairwise处理更复杂的情况", "texts": [{"text": "Pairwise处理更复杂的情况", "lines": ["Pairwise处理更复杂的情况"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "曝光值：-2.0、-1.5、-1、-0.5 和 +0.5、+1、+1.5、+2 \n白平衡：白炽灯、荧光灯、闪光灯、阴天等\n感光度：自动，100，200，400，800，1600，3200\n 分辨率：低，中，高，超高\n效果：无，负片，灰度，深褐色", "lines": ["曝光值：-2.0、-1.5、-1、-0.5 和 +0.5、+1、+1.5、+2", "白平衡：白炽灯、荧光灯、闪光灯、阴天等", "感光度：自动，100，200，400，800，1600，3200", "分辨率：低，中，高，超高", "效果：无，负片，灰度，深褐色"], "left": 0.19115594925634297, "top": 1.392341426071741, "w": 4.808844050743657, "h": 2.840317147856518, "size": 16.0, "bold": false, "is_title": false}, {"text": "完整组合：8*4*7*4*4 = 3584", "lines": ["完整组合：8*4*7*4*4 = 3584"], "left": 0.4163418635170604, "top": 4.459304461942257, "w": 4.358471128608924, "h": 0.4644925634295713, "size": 21.6, "bold": false, "is_title": false}, {"text": "Pairwise：8*7 = 56\n56/3584 = 1.56%", "lines": ["Pairwise：8*7 = 56", "56/3584 = 1.56%"], "left": 5.394479440069992, "top": 4.1530325896762905, "w": 2.9393996062992125, "h": 0.8280074365704287, "size": 21.6, "bold": true, "is_title": false}], "pics": [{"file": "img-1cdc7148e6.png", "left": 5.3016961942257215, "top": 1.392341426071741, "w": 4.538920603674541, "h": 2.4805905511811024}], "tables": [], "notes": ""}, {"index": 35, "title": "Pairwise方法来自于经验数据", "texts": [{"text": "大部分缺陷是在两个变量取值冲突的测试时被发现的，而不需要测试所有的完整组合", "lines": ["大部分缺陷是在两个变量取值冲突的测试时被发现的，而不需要测试所有的完整组合"], "left": 0.7733234908136483, "top": 0.8705369641294838, "w": 8.025, "h": 0.706836176727909, "size": 18.0, "bold": false, "is_title": false}, {"text": "Pairwise方法来自于经验数据", "lines": ["Pairwise方法来自于经验数据"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-d5ee0c933b.png", "left": 5.181695100612424, "top": 1.5773731408573928, "w": 3.8980708661417323, "h": 3.4871402012248467}, {"file": "img-eec767f2bc.png", "left": 1.2661920384951881, "top": 1.9873009623797024, "w": 3.51963145231846, "h": 2.66997375328084}], "tables": [], "notes": "http://msdn.microsoft.com/en-us/library/cc150619.aspx\nhttps://hexawise.com/case-studies/bcbsnc"}, {"index": 36, "title": "Pairwise方法来自于经验数据 – 续", "texts": [{"text": "Pairwise方法来自于经验数据 – 续", "lines": ["Pairwise方法来自于经验数据 – 续"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 24.0, "bold": false, "is_title": false}, {"text": "不同强度的组合故障覆盖率", "lines": ["不同强度的组合故障覆盖率"], "left": 1.644430227471566, "top": 4.472489063867017, "w": 6.071581364829396, "h": 0.4609383202099738, "size": 20.0, "bold": false, "is_title": false}], "pics": [{"file": "img-ed3705d0ae.png", "left": 0.7359580052493438, "top": 1.399050743657043, "w": 8.363134295713035, "h": 3.0734383202099735}], "tables": [], "notes": "http://msdn.microsoft.com/en-us/library/cc150619.aspx\nhttps://hexawise.com/case-studies/bcbsnc"}, {"index": 37, "title": "Pairwise方法工具", "texts": [{"text": "Pairwise方法工具", "lines": ["Pairwise方法工具"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 18.0, "bold": false, "is_title": false}, {"text": "http://www.pairwise.org/tools.asp", "lines": ["http://www.pairwise.org/tools.asp"], "left": 3.0052023184601926, "top": 5.251386701662292, "w": 3.4187576552930885, "h": 0.3736132983377078, "size": 16.2, "bold": false, "is_title": false}], "pics": [{"file": "img-7ee911a004.png", "left": 1.6276881014873141, "top": 0.7682852143482065, "w": 6.764064960629922, "h": 4.5}], "tables": [], "notes": "http://msdn.microsoft.com/en-us/library/cc150619.aspx\nhttps://hexawise.com/case-studies/bcbsnc"}, {"index": 38, "title": "Pairwise工具推荐:ACTS", "texts": [{"text": "Pairwise工具推荐:ACTS", "lines": ["Pairwise工具推荐:ACTS"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-64c2245e5f.png", "left": 1.578011811023622, "top": 0.929514435695538, "w": 6.638483158355205, "h": 4.1832392825896765}], "tables": [], "notes": "http://msdn.microsoft.com/en-us/library/cc150619.aspx\nhttps://hexawise.com/case-studies/bcbsnc"}, {"index": 39, "title": "3.3.4 正交实验法", "texts": [{"text": "3.3.4 正交实验法", "lines": ["3.3.4 正交实验法"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "处理的问题：和Pairwise类似\n依据与思想：依据Galois理论，从大量的（实验）数据（测试例）中挑选适量的、有代表性的点（条件组合），从而合理地安排实验（测试）的一种科学实验设计方法 \n确定影响功能的因子与状态\n选择一个合适的正交表\n利用正交表构造测试数据集", "lines": ["处理的问题：和Pairwise类似", "依据与思想：依据Galois理论，从大量的（实验）数据（测试例）中挑选适量的、有代表性的点（条件组合），从而合理地安排实验（测试）的一种科学实验设计方法", "确定影响功能的因子与状态", "选择一个合适的正交表", "利用正交表构造测试数据集"], "left": 0.8736362642169728, "top": 1.445379483814523, "w": 5.17790791776028, "h": 3.279009186351706, "size": 18.0, "bold": true, "is_title": false}, {"text": "正交实验法\nOrthogonal experimental design", "lines": ["正交实验法", "Orthogonal experimental design"], "left": 6.174143700787401, "top": 4.078138670166229, "w": 3.401953193350831, "h": 0.64625, "size": 14.4, "bold": true, "is_title": false}, {"text": "https://www.york.ac.uk/depts/maths/tables/orthogonal.htm", "lines": ["https://www.york.ac.uk/depts/maths/tables/orthogonal.htm"], "left": 1.8106681977252843, "top": 4.944827209098863, "w": 5.17790791776028, "h": 0.3365890201224847, "size": 14.0, "bold": false, "is_title": false}, {"text": "正交表", "lines": ["正交表"], "left": 0.8736362642169728, "top": 4.914015748031496, "w": 0.9768033683289589, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-8bcd77423a.png", "left": 6.315892388451443, "top": 1.420359798775153, "w": 3.0475831146106738, "h": 2.5396522309711287}], "tables": [], "notes": ""}, {"index": 40, "title": "正交实验法示例", "texts": [{"text": "正交实验法示例", "lines": ["正交实验法示例"], "left": 0.6205752405949256, "top": 0.2698403324584427, "w": 5.11873031496063, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}, {"text": "与两两组合一致", "lines": ["与两两组合一致"], "left": 7.746649168853893, "top": 0.4510203412073491, "w": 1.9690430883639545, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "A1、B1、C1\nA1、B2、C2\nA1、B3、C3", "lines": ["A1、B1、C1", "A1、B2、C2", "A1、B3、C3"], "left": 7.818814523184602, "top": 0.7857392825896763, "w": 2.5464260717410325, "h": 1.3511734470691164, "size": 18.0, "bold": false, "is_title": false}, {"text": "A2、B1、C2\nA2、B2、C3\nA2、B3、C1", "lines": ["A2、B1、C2", "A2、B2、C3", "A2、B3、C1"], "left": 7.818814523184602, "top": 2.1369127296587926, "w": 2.5464260717410325, "h": 1.3511734470691164, "size": 18.0, "bold": false, "is_title": false}, {"text": "A3、B1、C3\nA3、B2、C1\nA3、B3、C2", "lines": ["A3、B1、C3", "A3、B2、C1", "A3、B3、C2"], "left": 7.818814523184602, "top": 3.488086176727909, "w": 2.5464260717410325, "h": 1.3511734470691164, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-052183b850.png", "left": 0.0, "top": 1.05795384951881, "w": 7.943305993000875, "h": 3.509091207349081}], "tables": [], "notes": ""}, {"index": 41, "title": "正交表生成工具", "texts": [{"text": "正交表生成工具", "lines": ["正交表生成工具"], "left": 0.6205752405949256, "top": 0.2698403324584427, "w": 5.11873031496063, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}, {"text": "https://www.weibull.com/hotwire/issue131/hottopics131.htm", "lines": ["https://www.weibull.com/hotwire/issue131/hottopics131.htm"], "left": 2.9976334208223974, "top": 5.322070209973753, "w": 4.754117454068242, "h": 0.3029297900262467, "size": 12.0, "bold": false, "is_title": false}], "pics": [{"file": "img-6ed74c22da.gif", "left": 0.0, "top": 0.8325787401574803, "w": 5.372673884514436, "h": 3.959841426071741}, {"file": "img-56a3b49f92.gif", "left": 2.050007655293088, "top": 1.3953182414698162, "w": 5.372673884514436, "h": 3.959841426071741}, {"file": "img-af7d04feea.gif", "left": 3.3727099737532806, "top": 1.7611767279090114, "w": 6.524198381452319, "h": 3.03124343832021}], "tables": [], "notes": "https://support.minitab.com/en-us/minitab/21/help-and-how-to/statistical-modeling/doe/supporting-topics/basics/orthogonal-designs/"}, {"index": 42, "title": "小结", "texts": [{"text": "小结", "lines": ["小结"], "left": 0.652260498687664, "top": 0.2612937445319335, "w": 3.809834864391951, "h": 0.4129440069991251, "size": 18.0, "bold": false, "is_title": false}, {"text": "基于需求的测试方法", "lines": ["基于需求的测试方法"], "left": 1.8929133858267717, "top": 2.543775153105862, "w": 1.506071741032371, "h": 1.3126957567804025, "size": 24.0, "bold": true, "is_title": false}, {"text": "静态", "lines": ["静态"], "left": 3.6352318460192476, "top": 1.844527559055118, "w": 0.8268635170603674, "h": 0.4543941382327209, "size": 21.0, "bold": true, "is_title": false}, {"text": "动态", "lines": ["动态"], "left": 3.723824365704287, "top": 3.4391929133858268, "w": 0.8268635170603674, "h": 0.4543941382327209, "size": 21.0, "bold": true, "is_title": false}, {"text": "其它", "lines": ["其它"], "left": 3.694293525809274, "top": 4.354648950131233, "w": 0.8268635170603674, "h": 0.4543941382327209, "size": 21.0, "bold": true, "is_title": false}, {"text": "多因素", "lines": ["多因素"], "left": 4.993650481189851, "top": 2.405613469248299, "w": 1.0926410761154854, "h": 0.4543941860447895, "size": 21.0, "bold": true, "is_title": false}, {"text": "单因素", "lines": ["单因素"], "left": 4.964119641294838, "top": 1.312972440944882, "w": 1.0926410761154854, "h": 0.4543941860447895, "size": 21.0, "bold": true, "is_title": false}, {"text": "等价类划分", "lines": ["等价类划分"], "left": 6.470192475940507, "top": 1.0471948818897638, "w": 1.4765419947506562, "h": 0.4039065297077354, "size": 18.0, "bold": false, "is_title": false}, {"text": "边界值分析", "lines": ["边界值分析"], "left": 6.411130796150481, "top": 1.4901573373088877, "w": 1.9490354330708661, "h": 0.4039065297077354, "size": 18.0, "bold": false, "is_title": false}, {"text": "因果分析法", "lines": ["因果分析法"], "left": 6.440661636045494, "top": 2.0217115048118983, "w": 1.9490354330708661, "h": 0.40390656585848794, "size": 18.0, "bold": false, "is_title": false}, {"text": "决策表", "lines": ["决策表"], "left": 6.411130796150481, "top": 2.405612333868656, "w": 1.9490354330708661, "h": 0.40390656585848794, "size": 18.0, "bold": false, "is_title": false}, {"text": "正交试验法", "lines": ["正交试验法"], "left": 6.440661636045494, "top": 2.7895131629254144, "w": 1.9490354330708661, "h": 0.40390656585848794, "size": 18.0, "bold": false, "is_title": false}, {"text": "功能图", "lines": ["功能图"], "left": 4.9345888013998245, "top": 3.1734142607174105, "w": 1.9490354330708661, "h": 0.40390653820891403, "size": 18.0, "bold": false, "is_title": false}, {"text": "有限状态机", "lines": ["有限状态机"], "left": 4.875527121609799, "top": 3.6754383874253818, "w": 1.9490354330708661, "h": 0.40390653820891403, "size": 18.0, "bold": false, "is_title": false}, {"text": "错误推测法", "lines": ["错误推测法"], "left": 4.609749562554681, "top": 4.354648950131233, "w": 1.9490354330708661, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 43, "title": "3.4 基于逻辑覆盖的方法", "texts": [{"text": "3.4 基于逻辑覆盖的方法", "lines": ["3.4 基于逻辑覆盖的方法"], "left": 1.3325524934383202, "top": 2.19298665791776, "w": 7.776142825896763, "h": 0.8583005249343832, "size": 45.0, "bold": true, "is_title": false}, {"text": "3.4.1 判定覆盖\n3.4.2 条件覆盖\n3.4.3 判定条件覆盖\n3.4.4 条件组合覆盖\n3.4.5 基本路径覆盖", "lines": ["3.4.1 判定覆盖", "3.4.2 条件覆盖", "3.4.3 判定条件覆盖", "3.4.4 条件组合覆盖", "3.4.5 基本路径覆盖"], "left": 4.154891732283464, "top": 3.290722878390201, "w": 2.605977690288714, "h": 2.031663385826772, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 44, "title": "结构化测试方法", "texts": [{"text": "结构化测试方法", "lines": ["结构化测试方法"], "left": 0.6963932633420823, "top": 0.26930883639545056, "w": 5.138020559930009, "h": 0.7304691601049869, "size": 18.0, "bold": false, "is_title": false}, {"text": "语句覆盖\n判定覆盖\n条件覆盖\n判定/条件覆盖\n条件组合覆盖\nMC/DC覆盖\n基本路径覆盖", "lines": ["语句覆盖", "判定覆盖", "条件覆盖", "判定/条件覆盖", "条件组合覆盖", "MC/DC覆盖", "基本路径覆盖"], "left": 6.097928696412948, "top": 1.1783781714785653, "w": 2.541959755030621, "h": 3.581372484689414, "size": 20.0, "bold": false, "is_title": false}], "pics": [{"file": "img-d1a9bea2a0.wmf", "left": 1.1444444444444444, "top": 1.4013571741032371, "w": 2.128472552949875, "h": 2.6666662506711183}], "tables": [], "notes": ""}, {"index": 45, "title": "逻辑覆盖 vs. 路径覆盖", "texts": [{"text": "逻辑覆盖 vs. 路径覆盖", "lines": ["逻辑覆盖 vs. 路径覆盖"], "left": 0.6393810148731408, "top": 0.232833552055993, "w": 5.138366141732283, "h": 0.625, "size": 18.0, "bold": false, "is_title": false}, {"text": "逻辑覆盖：以程序或系统的内部逻辑结构为基础，分为语句覆盖、判定覆盖、判定-条件覆盖、条件组合覆盖等；\n基本路径测试：在程序或业务控制流程的基础上，分析控制构造的环路复杂性，导出基本可执行路径集合，从而设计出测试用例。", "lines": ["逻辑覆盖：以程序或系统的内部逻辑结构为基础，分为语句覆盖、判定覆盖、判定-条件覆盖、条件组合覆盖等；", "基本路径测试：在程序或业务控制流程的基础上，分析控制构造的环路复杂性，导出基本可执行路径集合，从而设计出测试用例。"], "left": 0.6393810148731408, "top": 1.7102679352580927, "w": 8.695238407699037, "h": 2.2044641294838145, "size": 18.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 46, "title": "（代码行）语句覆盖", "texts": [{"text": "（代码行）语句覆盖", "lines": ["（代码行）语句覆盖"], "left": 0.6584995625546807, "top": 0.32238517060367455, "w": 4.25244094488189, "h": 0.4375, "size": 18.0, "bold": false, "is_title": false}, {"text": "设计若干测试用例，运行被测程序，使程序中的每个可执行语句至少被执行一次", "lines": ["设计若干测试用例，运行被测程序，使程序中的每个可执行语句至少被执行一次"], "left": 0.6584995625546807, "top": 0.8594499125109362, "w": 9.074833770778653, "h": 0.5034798775153105, "size": 18.0, "bold": false, "is_title": false}, {"text": "3", "lines": ["3"], "left": 6.904273771567144, "top": 1.874778324744546, "w": 0.19791668658867306, "h": 0.19791669708929135, "size": 9.0, "bold": true, "is_title": false}, {"text": "6", "lines": ["6"], "left": 6.921200856604333, "top": 3.342226466978963, "w": 0.19791668658867306, "h": 0.19791669708929135, "size": 9.0, "bold": true, "is_title": false}, {"text": "8", "lines": ["8"], "left": 6.921200856604333, "top": 4.366966207829439, "w": 0.19791668658867306, "h": 0.19791669708929135, "size": 9.0, "bold": true, "is_title": false}, {"text": "9", "lines": ["9"], "left": 6.904273771567144, "top": 4.877382952954453, "w": 0.19791668658867306, "h": 0.19791669708929135, "size": 9.0, "bold": true, "is_title": false}, {"text": "IF", "lines": ["IF"], "left": 6.647763329080509, "top": 1.7107157995257916, "w": 0.4296875432517244, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "IF", "lines": ["IF"], "left": 6.527971650355786, "top": 3.3031639609744974, "w": 0.4296875432517244, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "ENDIF", "lines": ["ENDIF"], "left": 6.233700787401575, "top": 2.8318097218539484, "w": 0.7721354943887048, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "ENDIF", "lines": ["ENDIF"], "left": 6.233700787401575, "top": 4.366966207829439, "w": 0.7721354943887048, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "f", "lines": ["f"], "left": 7.23760713845333, "top": 3.421653562521376, "w": 0.260416692879833, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "e", "lines": ["e"], "left": 7.000627947932683, "top": 3.067486841414223, "w": 0.2929687794898121, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "i", "lines": ["i"], "left": 7.000627947932683, "top": 4.635195415726768, "w": 0.24609377477144215, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "c", "lines": ["c"], "left": 6.766252924340833, "top": 2.2601950506552715, "w": 0.2812500283102196, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "b", "lines": ["b"], "left": 7.229794637666936, "top": 1.9646220885548167, "w": 0.2994791968118079, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "a", "lines": ["a"], "left": 7.025367533756267, "top": 1.5180074365704288, "w": 0.2994791968118079, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "d", "lines": ["d"], "left": 7.23760713845333, "top": 2.594830518760192, "w": 0.2994791968118079, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "4", "lines": ["4"], "left": 7.39385715418123, "top": 2.299257556659737, "w": 0.19791668658867306, "h": 0.19791669708929135, "size": 9.0, "bold": true, "is_title": false}, {"text": "5", "lines": ["5"], "left": 6.921200856604333, "top": 2.869570144324932, "w": 0.19791668658867306, "h": 0.19791669708929135, "size": 9.0, "bold": true, "is_title": false}, {"text": "7", "lines": ["7"], "left": 7.39385715418123, "top": 3.873476548639692, "w": 0.19791668658867306, "h": 0.19791669708929135, "size": 9.0, "bold": true, "is_title": false}, {"text": "j", "lines": ["j"], "left": 6.764950840876433, "top": 3.795351536630762, "w": 0.24739585823584131, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "h", "lines": ["h"], "left": 7.23760713845333, "top": 4.209414100278095, "w": 0.2994791968118079, "h": 0.3281250504375094, "size": 13.5, "bold": false, "is_title": false}, {"text": "程序源代码\n1.\tdim a, b as integer\ndim c as double\nif (a >0 and b > 0) then\n     c = c / a\nend if\nif (a > 1 or c > 1) then\n     c = c + 1\nend if\nc = b + c", "lines": ["程序源代码", "1.\tdim a, b as integer", "dim c as double", "if (a >0 and b > 0) then", "c = c / a", "end if", "if (a > 1 or c > 1) then", "c = c + 1", "end if", "c = b + c"], "left": 1.258517060367454, "top": 1.6044586614173229, "w": 3.1302088801399823, "h": 3.371882108486439, "size": 13.5, "bold": false, "is_title": false}, {"text": "程序控制流图", "lines": ["程序控制流图"], "left": 8.152847769028872, "top": 2.7482534995625545, "w": 0.7908103674540682, "h": 0.9863101487314085, "size": 18.0, "bold": false, "is_title": false}, {"text": "(a, b ,c)= (1, 1, 2)", "lines": ["(a, b ,c)= (1, 1, 2)"], "left": 3.8186832895888014, "top": 2.7939195100612424, "w": 1.9234634733158356, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "覆盖", "lines": ["覆盖"], "left": 4.470757874015748, "top": 3.507956036745407, "w": 0.6507381889763779, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 47, "title": "语句覆盖不能发现的问题", "texts": [{"text": "语句覆盖不能发现的问题", "lines": ["语句覆盖不能发现的问题"], "left": 0.6584995625546807, "top": 0.282257217847769, "w": 4.25244094488189, "h": 0.4375, "size": 18.0, "bold": false, "is_title": false}, {"text": "程序源代码\n1.\tdim a, b as integer\ndim c as double\nif (a >0 or b > 0) then\n     c = c / a\nend if\nif (a > 1 and c > 1) then\n     c = c + 1\nend if\nc = b + c", "lines": ["程序源代码", "1.\tdim a, b as integer", "dim c as double", "if (a >0 or b > 0) then", "c = c / a", "end if", "if (a > 1 and c > 1) then", "c = c + 1", "end if", "c = b + c"], "left": 5.798648293963255, "top": 1.0886931321084865, "w": 3.1302088801399823, "h": 3.447613735783027, "size": 13.5, "bold": false, "is_title": false}, {"text": "(a, b ,c)= (1, 1, 2)", "lines": ["(a, b ,c)= (1, 1, 2)"], "left": 5.798648293963255, "top": 4.724430227471566, "w": 1.9234634733158356, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "and", "lines": ["and"], "left": 8.165278871391076, "top": 2.5116568241469817, "w": 0.4929615048118985, "h": 0.32817366579177604, "size": 13.5, "bold": false, "is_title": false}, {"text": "or", "lines": ["or"], "left": 8.224340551181102, "top": 3.7519520997375326, "w": 0.3684951881014873, "h": 0.32817366579177604, "size": 13.5, "bold": false, "is_title": false}, {"text": "程序源代码\n1.\tdim a, b as integer\ndim c as double\nif (a >0 and b > 0) then\n     c = c / a\nend if\nif (a > 1 or c > 1) then\n     c = c + 1\nend if\nc = b + c", "lines": ["程序源代码", "1.\tdim a, b as integer", "dim c as double", "if (a >0 and b > 0) then", "c = c / a", "end if", "if (a > 1 or c > 1) then", "c = c + 1", "end if", "c = b + c"], "left": 1.0711428258967628, "top": 1.2614293525809275, "w": 2.570614610673666, "h": 3.371882108486439, "size": 13.5, "bold": false, "is_title": false}, {"text": "如果开发写错了", "lines": ["如果开发写错了"], "left": 3.479588801399825, "top": 2.447899168853893, "w": 1.7727001312335957, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 48, "title": "3.4.1 判定/分支覆盖", "texts": [{"text": "3.4.1 判定/分支覆盖", "lines": ["3.4.1 判定/分支覆盖"], "left": 0.6584995625546807, "top": 0.32238517060367455, "w": 4.25244094488189, "h": 0.4375, "size": 18.0, "bold": false, "is_title": false}, {"text": "判定覆盖：设计若干用例，运行被测程序，使得程序中每个判断的取真分支和取假分支至少经历一次，即判断真假值均曾被满足。\n一个判定代表着程序的一个分支，所以判定覆盖也被称为分支覆盖。", "lines": ["判定覆盖：设计若干用例，运行被测程序，使得程序中每个判断的取真分支和取假分支至少经历一次，即判断真假值均曾被满足。", "一个判定代表着程序的一个分支，所以判定覆盖也被称为分支覆盖。"], "left": 0.5192683727034121, "top": 1.2178346456692914, "w": 5.263673447069117, "h": 2.321058617672791, "size": 18.0, "bold": true, "is_title": false}, {"text": "(a, b ,c)= (1, 1, 2)", "lines": ["(a, b ,c)= (1, 1, 2)"], "left": 7.244937664041995, "top": 1.2178346456692914, "w": 1.9234634733158356, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "(a, b ,c)= (-1, 1, 0)", "lines": ["(a, b ,c)= (-1, 1, 0)"], "left": 4.158323490813649, "top": 3.836340769903762, "w": 2.0005982064741907, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-1d103b6304.jpg", "left": 6.324021216097988, "top": 1.5152821522309712, "w": 2.679280402449694, "h": 3.602762467191601}], "tables": [], "notes": ""}, {"index": 49, "title": "3.4.2 条件覆盖", "texts": [{"text": "3.4.2 条件覆盖", "lines": ["3.4.2 条件覆盖"], "left": 0.7627668416447944, "top": 0.2957327209098863, "w": 3.094377734033246, "h": 0.4375, "size": 18.0, "bold": false, "is_title": false}, {"text": "条件覆盖的基本思想是设计若干测试用例，执行被测程序以后，要使每个判断中每个条件的可能取值至少满足一次。", "lines": ["条件覆盖的基本思想是设计若干测试用例，执行被测程序以后，要使每个判断中每个条件的可能取值至少满足一次。"], "left": 0.7627668416447944, "top": 1.2176695100612422, "w": 8.06450568678915, "h": 0.9634153543307087, "size": 18.0, "bold": false, "is_title": false}, {"text": "（a>0 and b>0）", "lines": ["（a>0 and b>0）"], "left": 2.510259186351706, "top": 3.2259317585301837, "w": 2.3034055118110235, "h": 0.4543941382327209, "size": 21.0, "bold": false, "is_title": false}, {"text": "a>0\n\nb>0", "lines": ["a>0", "b>0"], "left": 5.281819772528434, "top": 2.81291447944007, "w": 1.0040485564304462, "h": 1.3126957567804025, "size": 24.0, "bold": false, "is_title": false}, {"text": "条件", "lines": ["条件"], "left": 7.436364829396325, "top": 3.241963035870516, "w": 0.7272714348206474, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 50, "title": "示例：列出所有条件", "texts": [{"text": "示例：列出所有条件", "lines": ["示例：列出所有条件"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 18.0, "bold": false, "is_title": false}, {"text": "判定M：\n条件a>0： 取.T.时为T1\n取.F.时为F1\n条件b>0： 取.T.时为T2\n取.F.时为F2；\n\n判定N：\n条件a>1： 取.T.时为T3\n取.F.时为F3\n条件c>1： 取.T.时为T4\n取.F.时为F4", "lines": ["判定M：", "条件a>0： 取.T.时为T1", "取.F.时为F1", "条件b>0： 取.T.时为T2", "取.F.时为F2；", "判定N：", "条件a>1： 取.T.时为T3", "取.F.时为F3", "条件c>1： 取.T.时为T4", "取.F.时为F4"], "left": 6.740295275590551, "top": 1.138416447944007, "w": 2.5547036307961504, "h": 3.899588801399825, "size": 15.0, "bold": true, "is_title": false}], "pics": [{"file": "img-6037e2a490.jpg", "left": 3.389119641294838, "top": 1.138416447944007, "w": 2.5547036307961504, "h": 3.768086176727909}, {"file": "img-1d103b6304.jpg", "left": 0.4792082239720035, "top": 1.204167760279965, "w": 2.493986220472441, "h": 3.768087270341207}], "tables": [], "notes": ""}, {"index": 51, "title": "示例续：覆盖所有条件", "texts": [{"text": "示例续：覆盖所有条件", "lines": ["示例续：覆盖所有条件"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 28.0, "bold": true, "is_title": false}, {"text": "(a, b ,c)= (2, -1, 0)", "lines": ["(a, b ,c)= (2, -1, 0)"], "left": 5.212694663167104, "top": 1.478979658792651, "w": 2.326667760279965, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "(a, b ,c)= (-1, 1, 2)", "lines": ["(a, b ,c)= (-1, 1, 2)"], "left": 5.330818022747157, "top": 2.955521653543307, "w": 2.326667760279965, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "T1, F2, T3, F4", "lines": ["T1, F2, T3, F4"], "left": 5.891902887139108, "top": 2.1581889763779527, "w": 1.8899737532808398, "h": 0.4039063867016623, "size": 18.0, "bold": true, "is_title": false}, {"text": "F1, T2, F3, T4", "lines": ["F1, T2, F3, T4"], "left": 5.950964566929134, "top": 3.693792650918635, "w": 1.8899737532808398, "h": 0.4039063867016623, "size": 18.0, "bold": true, "is_title": false}, {"text": "但有什么问题吗？", "lines": ["但有什么问题吗？"], "left": 5.5670636482939635, "top": 4.49112532808399, "w": 2.221484033245844, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-1d103b6304.jpg", "left": 0.8353685476815398, "top": 1.0274573490813648, "w": 2.711699475065617, "h": 4.17419072615923}], "tables": [], "notes": ""}, {"index": 52, "title": "3.4.3 判定-条件覆盖", "texts": [{"text": "3.4.3 判定-条件覆盖", "lines": ["3.4.3 判定-条件覆盖"], "left": 0.5950306211723535, "top": 0.307840113735783, "w": 5.881511373578303, "h": 0.4375, "size": 18.0, "bold": false, "is_title": false}, {"text": "判定-条件覆盖是判定和条件覆盖设计方法的交集，即设计足够的测试用例，使得判断条件中的所有条件可能取值至少执行一次，同时，所有判断的可能结果至少执行一次", "lines": ["判定-条件覆盖是判定和条件覆盖设计方法的交集，即设计足够的测试用例，使得判断条件中的所有条件可能取值至少执行一次，同时，所有判断的可能结果至少执行一次"], "left": 0.3818383639545057, "top": 0.8737007874015748, "w": 8.881796806649168, "h": 1.410657261592301, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [{"rows": [["条件", "取值", "覆盖条件", "分支", "覆盖判定"], ["a>0, b>0, a>1，c>1", "(a, b ,c)= (2, 1, 2)", "T1，T2，T3，T4", "a>0 AND b>0", "M=.T.\nN=.T."], ["a<=0, b<=0, a<=1, c<=1", "(a, b ,c)= (-1, 0, 1)", "F1，F2，F3，F4", "a>1 OR c>1", "M=.F.\nN=.F."]], "left": 0.8416972878390201, "top": 2.8938801399825023}], "notes": ""}, {"index": 53, "title": "3.4.4 条件组合测试", "texts": [{"text": "3.4.4 条件组合测试", "lines": ["3.4.4 条件组合测试"], "left": 0.6514905949256343, "top": 0.28645450568678915, "w": 5.881511373578303, "h": 0.4375, "size": 18.0, "bold": false, "is_title": false}, {"text": "条件组合覆盖的基本思想是设计足够的测试用例，使得判断中每个条件的所有可能至少出现一次，并且每个判断本身的判定结果也至少出现一次。\n它与条件覆盖的差别是它不是简单地要求每个条件都出现“真”与“假”两种结果，而是要求让这些结果的所有可能组合都至少出现一次", "lines": ["条件组合覆盖的基本思想是设计足够的测试用例，使得判断中每个条件的所有可能至少出现一次，并且每个判断本身的判定结果也至少出现一次。", "它与条件覆盖的差别是它不是简单地要求每个条件都出现“真”与“假”两种结果，而是要求让这些结果的所有可能组合都至少出现一次"], "left": 0.6439271653543307, "top": 1.1631146106736658, "w": 8.712145669291338, "h": 2.0333464566929136, "size": 18.0, "bold": true, "is_title": false}, {"text": "（a>0 and b>0）", "lines": ["（a>0 and b>0）"], "left": 1.3597167541557305, "top": 4.065185914260717, "w": 2.3034055118110235, "h": 0.4543941382327209, "size": 21.0, "bold": false, "is_title": false}, {"text": ".T.  .T.    (1, 1)\n.T.  .F.    (1, -1)\n.F.  .T.    (-1, 1)\n.F.  .F.    (-1, -1)", "lines": [".T.  .T.    (1, 1)", ".T.  .F.    (1, -1)", ".F.  .T.    (-1, 1)", ".F.  .F.    (-1, -1)"], "left": 4.005042650918635, "top": 3.050919728783902, "w": 2.5279593175853017, "h": 2.461794619422572, "size": 24.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 54, "title": "组合覆盖 vs 路径覆盖", "texts": [{"text": "组合覆盖 vs 路径覆盖", "lines": ["组合覆盖 vs 路径覆盖"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 18.0, "bold": false, "is_title": false}, {"text": "覆盖了所有组合，但覆盖路径有限，1-2-5 没被覆盖", "lines": ["覆盖了所有组合，但覆盖路径有限，1-2-5 没被覆盖"], "left": 1.5377657480314961, "top": 4.919541776027996, "w": 5.839843613298338, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-6037e2a490.jpg", "left": 7.232096456692913, "top": 0.9102449693788276, "w": 2.442305336832896, "h": 3.602302055993001}], "tables": [{"rows": [["测试用例", "覆盖条件", "覆盖路径", "覆盖组合"], ["输入：a=2，b=1，c=6\n输出：a=2，b=1，c=5", "T1，T2，T3，T4", "P1（1-2-4）", "1，5"], ["输入：(a,b,c)=(2,-1,-2)\n输出：(a,b,c)=(2,-1,-2)", "T1，F2，T3，F4", "P3（1-3-4）", "2，6"], ["输入：(a,b,c)=(-1,2,3) \n输出：(a,b,c)=(-1,2,6)", "F1，T2，F3，T4", "P3（1-3-4）", "3，7"], ["输入：(a,b,c)=(-1,-2,-3) \n输出：(a,b,c)=(-1,-2,-5)", "F1，F2，F3，F4", "P4（1-3-5）", "4，8"]], "left": 0.5487784339457568, "top": 1.5674748468941382}], "notes": ""}, {"index": 55, "title": "问题", "texts": [{"text": "问题", "lines": ["问题"], "left": 0.6265343394575678, "top": 0.11607392825896763, "w": 6.375, "h": 0.6496784776902887, "size": 18.0, "bold": false, "is_title": false}, {"text": "条件组合效率不高，有些测试是不必要的\n判定/条件 还不够强", "lines": ["条件组合效率不高，有些测试是不必要的", "判定/条件 还不够强"], "left": 1.119352580927384, "top": 1.1859284776902888, "w": 5.167896981627297, "h": 1.0040485564304462, "size": 18.0, "bold": true, "is_title": false}, {"text": "（a>0 and b>0）", "lines": ["（a>0 and b>0）"], "left": 1.8282491251093613, "top": 3.2183923884514436, "w": 2.3034055118110235, "h": 0.4543941382327209, "size": 21.0, "bold": false, "is_title": false}, {"text": ".T.  .T.    (1, 1)\n.T.  .F.    (1, -1)\n.F.  .T.    (-1, 1)\n.F.  .F.    (-1, -1)", "lines": [".T.  .T.    (1, 1)", ".T.  .F.    (1, -1)", ".F.  .T.    (-1, 1)", ".F.  .F.    (-1, -1)"], "left": 4.473575021872266, "top": 2.2041262029746282, "w": 2.5279593175853017, "h": 2.461794619422572, "size": 24.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 56, "title": "修正条件/判定覆盖（MC/DC）", "texts": [{"text": "修正条件/判定覆盖（MC/DC）", "lines": ["修正条件/判定覆盖（MC/DC）"], "left": 0.6035662729658793, "top": 0.21378608923884515, "w": 6.375, "h": 0.6496784776902887, "size": 18.0, "bold": false, "is_title": false}, {"text": "每个判定的所有可能结果至少能取值一次；\n判定中的每个条件的所有可能结果至少取值一次；\n 一个判定中的每个条件独立地对结果产生影响；\n每个入口和出口至少执行一次", "lines": ["每个判定的所有可能结果至少能取值一次；", "判定中的每个条件的所有可能结果至少取值一次；", "一个判定中的每个条件独立地对结果产生影响；", "每个入口和出口至少执行一次"], "left": 0.9198173665791776, "top": 1.1265540244969379, "w": 6.280182633420822, "h": 2.0189009186351705, "size": 18.0, "bold": false, "is_title": false}, {"text": "http://en.wikipedia.org/wiki/Modified_Condition/Decision_Coverage", "lines": ["http://en.wikipedia.org/wiki/Modified_Condition/Decision_Coverage"], "left": 1.0333081802274715, "top": 4.623187882764654, "w": 5.830328083989501, "h": 0.32817366579177604, "size": 13.5, "bold": false, "is_title": false}, {"text": "http://www.dsl.uow.edu.au/~sergiy/MCDC.html", "lines": ["http://www.dsl.uow.edu.au/~sergiy/MCDC.html"], "left": 1.0333081802274715, "top": 4.951361548556431, "w": 4.931650262467191, "h": 0.32817366579177604, "size": 13.5, "bold": false, "is_title": false}, {"text": ">= n+1 test cases for a decision with n inputs.", "lines": [">= n+1 test cases for a decision with n inputs."], "left": 1.1545450568678914, "top": 4.004706911636045, "w": 5.086091426071741, "h": 0.4543941382327209, "size": 21.0, "bold": true, "is_title": false}, {"text": "（a>0 and b>0） 会有多少条用例？", "lines": ["（a>0 and b>0） 会有多少条用例？"], "left": 1.2480205599300087, "top": 3.3095417760279964, "w": 5.086091426071741, "h": 0.4543941382327209, "size": 20.0, "bold": false, "is_title": false}, {"text": ".T.  .T.    (1, 1)\n.T.  .F.    (1, -1)\n.F.  .T.    (-1, 1)", "lines": [".T.  .T.    (1, 1)", ".T.  .F.    (1, -1)", ".F.  .T.    (-1, 1)"], "left": 6.539241405793937, "top": 2.480576334208224, "w": 2.0917111313889145, "h": 1.855936132983377, "size": 24.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 57, "title": "3.4.5 基本路径覆盖", "texts": [{"text": "3.4.5 基本路径覆盖", "lines": ["3.4.5 基本路径覆盖"], "left": 0.6741885389326334, "top": 0.29307852143482066, "w": 5.881511373578303, "h": 0.4375, "size": 18.0, "bold": false, "is_title": false}, {"text": "设计所有的测试用例，来覆盖程序中基本的执行路径。", "lines": ["设计所有的测试用例，来覆盖程序中基本的执行路径。"], "left": 0.6741885389326334, "top": 0.9359580052493438, "w": 8.725811461067366, "h": 0.45642825896762906, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [{"rows": [["测试用例", "覆盖路径", "覆盖条件", "覆盖组合"], ["输入：a=2，b=1，c=6\n输出：a=2，b=1，c=5", "P1（1-2-4）", "T1，T2，T3，T4", "1，5"], ["输入：a=1，b=1，c=-3\n输出：a=1，b=1，c=-2", "P2（1-2-5）", "T1，T2，F3，F4", "1，8"], ["输入：a=2，b=-1，c=-2\n输出：a=2，b=-1，c=-2", "P3（1-3-4）", "T1，F2，T3，F4", "2，6"], ["输入：a=-1，b=2，c=3 \n输出：a=-1，b=2，c=6", "P3（1-3-4）", "F1，T2，F3，T4", "3，7"], ["输入：a=-1，b=-2，c=-3\n输出：a=-1，b=-2，c=-5", "P4（1-3-5）", "F1，F2，F3，F4", "4，8"]], "left": 0.8, "top": 1.6894892825896763}], "notes": ""}, {"index": 58, "title": "基本路径覆盖的设计过程", "texts": [{"text": "基本路径覆盖的设计过程", "lines": ["基本路径覆盖的设计过程"], "left": 0.6328663604549432, "top": 0.12468613298337708, "w": 5.551968503937008, "h": 0.7207185039370079, "size": 18.0, "bold": false, "is_title": false}, {"text": "依据代码绘制流程图\n确定流程图的圈复杂度（cyclomatic complexity ）\n确定线性独立路径的基本集合( basis set )\n设计测试用例覆盖每条基本路径", "lines": ["依据代码绘制流程图", "确定流程图的圈复杂度（cyclomatic complexity ）", "确定线性独立路径的基本集合( basis set )", "设计测试用例覆盖每条基本路径"], "left": 0.5395767716535433, "top": 1.6827241907261592, "w": 6.036888670166229, "h": 2.160968941382327, "size": 21.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 59, "title": "示例 – 从源代码到流程图", "texts": [{"text": "示例 – 从源代码到流程图", "lines": ["示例 – 从源代码到流程图"], "left": 0.6509634733158355, "top": 0.16375656167979002, "w": 5.630854111986002, "h": 0.5807294400699913, "size": 18.0, "bold": false, "is_title": false}, {"text": "Procedure: process records\n\n1.\tDo While records remain\n2.\t\tRead record;\n3.\t\tIf record field 1 = 0 Then\n4.\t\t\tstore in buffer;\n5.\t\t\tincrement counter;\n6.\t\tElse If record field 2 = 0 Then\n7.\t\t\t\treset counter;\n8.\t\t\tElse store in file;\n9.\t\t\tEnd If\n10.\t\tEnd If\n11.\tEnd Do\nEnd", "lines": ["Procedure: process records", "1.\tDo While records remain", "2.\t\tRead record;", "3.\t\tIf record field 1 = 0 Then", "4.\t\t\tstore in buffer;", "5.\t\t\tincrement counter;", "6.\t\tElse If record field 2 = 0 Then", "7.\t\t\t\treset counter;", "8.\t\t\tElse store in file;", "9.\t\t\tEnd If", "10.\t\tEnd If", "11.\tEnd Do", "End"], "left": 0.7442005686789152, "top": 1.342661854768154, "w": 3.2285269028871393, "h": 3.635156386701662, "size": 15.0, "bold": false, "is_title": false}, {"text": "1", "lines": ["1"], "left": 7.6130804388541105, "top": 1.94730988560111, "w": 0.25982235054766095, "h": 0.24563010350402414, "size": 12.0, "bold": true, "is_title": false}, {"text": "9", "lines": ["9"], "left": 6.46364984277708, "top": 4.015772645158713, "w": 0.2513495860957039, "h": 0.3040175772348785, "size": 12.0, "bold": true, "is_title": false}, {"text": "10", "lines": ["10"], "left": 7.553773459684939, "top": 4.232673495998203, "w": 0.34505878789336375, "h": 0.3040175772348785, "size": 12.0, "bold": true, "is_title": false}, {"text": "11", "lines": ["11"], "left": 5.307043963254594, "top": 4.500205537639881, "w": 0.33509759687544843, "h": 0.3040175772348785, "size": 12.0, "bold": true, "is_title": false}, {"text": "2", "lines": ["2"], "left": 7.5170597283894764, "top": 2.4859716101495595, "w": 0.451864957474193, "h": 0.22982919550640038, "size": 12.0, "bold": true, "is_title": false}, {"text": "4", "lines": ["4"], "left": 8.354421236460551, "top": 3.436890208170409, "w": 0.451864957474193, "h": 0.22982919550640038, "size": 12.0, "bold": true, "is_title": false}, {"text": "5", "lines": ["5"], "left": 8.354421236460551, "top": 4.002844300491802, "w": 0.451864957474193, "h": 0.22982919550640038, "size": 12.0, "bold": true, "is_title": false}, {"text": "7", "lines": ["7"], "left": 6.791250750948606, "top": 3.8405281851982003, "w": 0.451864957474193, "h": 0.22982919550640038, "size": 12.0, "bold": true, "is_title": false}, {"text": "8", "lines": ["8"], "left": 5.881873117030425, "top": 3.854892208304233, "w": 0.451864957474193, "h": 0.22982919550640038, "size": 12.0, "bold": true, "is_title": false}, {"text": "3", "lines": ["3"], "left": 7.6130804388541105, "top": 3.005961069822143, "w": 0.25982235054766095, "h": 0.24563010350402414, "size": 12.0, "bold": true, "is_title": false}, {"text": "6", "lines": ["6"], "left": 6.449528173358064, "top": 3.4253987483950885, "w": 0.25982235054766095, "h": 0.24563010350402414, "size": 12.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 60, "title": "流程图简化", "texts": [{"text": "流程图简化", "lines": ["流程图简化"], "left": 0.6660159667541558, "top": 0.22508748906386702, "w": 2.3794389763779527, "h": 0.5318000874890638, "size": 18.0, "bold": false, "is_title": false}, {"text": "1", "lines": ["1"], "left": 7.921686351706037, "top": 1.2434241032370954, "w": 0.29557305336832895, "h": 0.29557305336832895, "size": 12.0, "bold": true, "is_title": false}, {"text": "2,3", "lines": ["2,3"], "left": 7.921686351706037, "top": 2.0051432633420823, "w": 0.29557305336832895, "h": 0.29557305336832895, "size": 12.0, "bold": true, "is_title": false}, {"text": "8", "lines": ["8"], "left": 5.76918416447944, "top": 3.065354167142151, "w": 0.2955729637550996, "h": 0.29557297063410554, "size": 12.0, "bold": true, "is_title": false}, {"text": "7", "lines": ["7"], "left": 7.189757307460998, "top": 3.065354167142151, "w": 0.2955729637550996, "h": 0.29557297063410554, "size": 12.0, "bold": true, "is_title": false}, {"text": "6", "lines": ["6"], "left": 6.480121777740605, "top": 2.463791557305337, "w": 0.2955729637550996, "h": 0.29557297063410554, "size": 12.0, "bold": true, "is_title": false}, {"text": "9", "lines": ["9"], "left": 6.480121777740605, "top": 3.6656146934078895, "w": 0.2955729637550996, "h": 0.29557297063410554, "size": 12.0, "bold": true, "is_title": false}, {"text": "4,5", "lines": ["4,5"], "left": 9.198508311461067, "top": 2.5749114173228347, "w": 0.29557305336832895, "h": 0.29557305336832895, "size": 12.0, "bold": true, "is_title": false}, {"text": "10", "lines": ["10"], "left": 7.921686351706037, "top": 3.917902449693788, "w": 0.29557305336832895, "h": 0.29557305336832895, "size": 12.0, "bold": true, "is_title": false}, {"text": "11", "lines": ["11"], "left": 7.921686351706037, "top": 4.6652985564304466, "w": 0.29557305336832895, "h": 0.29557305336832895, "size": 12.0, "bold": true, "is_title": false}, {"text": "1", "lines": ["1"], "left": 2.527332427686431, "top": 1.9334243699475357, "w": 0.25673574220623113, "h": 0.24538208112532137, "size": 12.0, "bold": true, "is_title": false}, {"text": "9", "lines": ["9"], "left": 1.391556707944203, "top": 3.9997985212825924, "w": 0.24836363154859645, "h": 0.30371059872696116, "size": 12.0, "bold": true, "is_title": false}, {"text": "10", "lines": ["10"], "left": 2.468729996898962, "top": 4.216480358800015, "w": 0.3409595973089111, "h": 0.30371059872696116, "size": 12.0, "bold": true, "is_title": false}, {"text": "11", "lines": ["11"], "left": 0.24869094488188975, "top": 4.483742262814422, "w": 0.3311167421278538, "h": 0.30371059872696116, "size": 12.0, "bold": true, "is_title": false}, {"text": "2", "lines": ["2"], "left": 2.432452413259861, "top": 2.471542186561523, "w": 0.4464969429673585, "h": 0.2295971279261174, "size": 12.0, "bold": true, "is_title": false}, {"text": "4", "lines": ["4"], "left": 3.259866328253756, "top": 3.421500604664401, "w": 0.4464969429673585, "h": 0.2295971279261174, "size": 12.0, "bold": true, "is_title": false}, {"text": "5", "lines": ["5"], "left": 3.259866328253756, "top": 3.9868832308738975, "w": 0.4464969429673585, "h": 0.2295971279261174, "size": 12.0, "bold": true, "is_title": false}, {"text": "7", "lines": ["7"], "left": 1.7152658196875505, "top": 3.8247310125474945, "w": 0.4464969429673585, "h": 0.2295971279261174, "size": 12.0, "bold": true, "is_title": false}, {"text": "8", "lines": ["8"], "left": 0.8166913079197353, "top": 3.83908053173431, "w": 0.4464969429673585, "h": 0.2295971279261174, "size": 12.0, "bold": true, "is_title": false}, {"text": "3", "lines": ["3"], "left": 2.527332427686431, "top": 2.9910065924200637, "w": 0.25673574220623113, "h": 0.24538208112532137, "size": 12.0, "bold": true, "is_title": false}, {"text": "6", "lines": ["6"], "left": 1.3776027995454825, "top": 3.410020748268095, "w": 0.25673574220623113, "h": 0.24538208112532137, "size": 12.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 61, "title": "计算圈复杂度", "texts": [{"text": "计算圈复杂度", "lines": ["计算圈复杂度"], "left": 0.6484394138232721, "top": 0.20974300087489064, "w": 5.433593613298338, "h": 0.625, "size": 18.0, "bold": false, "is_title": false}, {"text": "V(G) = 区域数量(由节点、连线包围的区域，包括图形外部区域)\n  V(G) = 连线数量 - 节点数量 + 2\n  V(G) = 简单可预测节点数量 + 1", "lines": ["V(G) = 区域数量(由节点、连线包围的区域，包括图形外部区域)", "V(G) = 连线数量 - 节点数量 + 2", "V(G) = 简单可预测节点数量 + 1"], "left": 0.8942005686789152, "top": 3.401709317585302, "w": 8.070803805774279, "h": 1.9352865266841646, "size": 16.0, "bold": false, "is_title": false}, {"text": "圈复杂度（Cyclomatic complexity）: 代码逻辑复杂度的度量，提供了被测代码的路径数量。复杂度越高，出错的概率越大", "lines": ["圈复杂度（Cyclomatic complexity）: 代码逻辑复杂度的度量，提供了被测代码的路径数量。复杂度越高，出错的概率越大"], "left": 0.9746511373578303, "top": 0.8279735345581802, "w": 7.384015748031496, "h": 0.9562631233595801, "size": 18.0, "bold": false, "is_title": false}, {"text": "V(G)", "lines": ["V(G)"], "left": 6.584133539331852, "top": 3.5424120532266747, "w": 0.3613214038002573, "h": 0.22398339734200454, "size": 12.0, "bold": true, "is_title": false}, {"text": "modules", "lines": ["modules"], "left": 2.902344706911636, "top": 2.1512376282130816, "w": 0.6982823965927932, "h": 0.21905899701777057, "size": 12.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": "2.\tDetermine the cyclomatic complexity of the resultant flow graph\n\tNote:\tcan be determined without developing a flow graph\n\t\t\tcount all conditional statements in a component\n\t\t\t\tcompound conditions count as 2\n\t\t\t\t(number of Boolean operators + 2)"}, {"index": 62, "title": "圈复杂度计算示例", "texts": [{"text": "圈复杂度计算示例", "lines": ["圈复杂度计算示例"], "left": 0.6330183727034121, "top": 0.09454833770778652, "w": 4.919270559930009, "h": 0.8333333333333334, "size": 18.0, "bold": false, "is_title": false}, {"text": "V(G)=4", "lines": ["V(G)=4"], "left": 6.688016185476815, "top": 3.869309930008749, "w": 1.2385400262467192, "h": 0.47753608923884516, "size": 24.0, "bold": true, "is_title": false}, {"text": "1", "lines": ["1"], "left": 5.157692935222489, "top": 1.2315113735783028, "w": 0.22645605858206952, "h": 0.2817000879487262, "size": 12.0, "bold": true, "is_title": false}, {"text": "2,3", "lines": ["2,3"], "left": 5.157692935222489, "top": 1.9574785605827292, "w": 0.22645605858206952, "h": 0.2817000879487262, "size": 12.0, "bold": true, "is_title": false}, {"text": "7", "lines": ["7"], "left": 3.0926531058617672, "top": 3.0333991608098025, "w": 0.22645605858206952, "h": 0.2817000879487262, "size": 12.0, "bold": true, "is_title": false}, {"text": "8", "lines": ["8"], "left": 4.181038832350921, "top": 3.0333991608098025, "w": 0.22645605858206952, "h": 0.2817000879487262, "size": 12.0, "bold": true, "is_title": false}, {"text": "6", "lines": ["6"], "left": 3.637344770997494, "top": 2.4600712285088706, "w": 0.22645605858206952, "h": 0.2817000879487262, "size": 12.0, "bold": true, "is_title": false}, {"text": "9", "lines": ["9"], "left": 3.637344770997494, "top": 3.605486123560299, "w": 0.22645605858206952, "h": 0.2817000879487262, "size": 12.0, "bold": true, "is_title": false}, {"text": "4,5", "lines": ["4,5"], "left": 6.461561078688414, "top": 2.4600712285088706, "w": 0.22645605858206952, "h": 0.2817000879487262, "size": 12.0, "bold": true, "is_title": false}, {"text": "10", "lines": ["10"], "left": 5.157692935222489, "top": 3.7804628301716225, "w": 0.22645605858206952, "h": 0.2817000879487262, "size": 12.0, "bold": true, "is_title": false}, {"text": "11", "lines": ["11"], "left": 5.157692935222489, "top": 4.492779352121266, "w": 0.22645605858206952, "h": 0.2817000879487262, "size": 12.0, "bold": true, "is_title": false}, {"text": "Region 1", "lines": ["Region 1"], "left": 5.788178525636004, "top": 1.7365859806053139, "w": 0.9816421217830679, "h": 0.3003146312052499, "size": 13.5, "bold": false, "is_title": false}, {"text": "Region 2", "lines": ["Region 2"], "left": 4.680838327283153, "top": 2.776518463869775, "w": 0.9816421217830679, "h": 0.3003146312052499, "size": 13.5, "bold": false, "is_title": false}, {"text": "Region 3", "lines": ["Region 3"], "left": 3.3390612400898343, "top": 3.0197484957550182, "w": 0.8808841397707815, "h": 0.2506758491878533, "size": 10.5, "bold": true, "is_title": false}, {"text": "Region 4", "lines": ["Region 4"], "left": 2.738487532808399, "top": 1.9697911198600175, "w": 1.0335378390201224, "h": 0.32817366579177604, "size": 13.5, "bold": false, "is_title": false}, {"text": "11 - 9 + 2 = 4", "lines": ["11 - 9 + 2 = 4"], "left": 6.1496423884514435, "top": 4.369568022747156, "w": 3.78451334208224, "h": 0.6354516622922135, "size": 24.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 63, "title": "确定独立路径集合", "texts": [{"text": "确定独立路径集合", "lines": ["确定独立路径集合"], "left": 0.6060367454068242, "top": 0.30006124234470694, "w": 5.936198600174978, "h": 0.375, "size": 18.0, "bold": false, "is_title": false}, {"text": "独立路径：至少引入一系列新的处理语句或条件的任何路径\n基本集：由独立路径构成的集合\n由基本集导出的测试用例，保证每行代码语句至少被执行一次\n基本集合不一定唯一\n不需要活动图, 但最好绘制程序流程图\n最好每个单元都进行基本路径测试，对关键组件则是必要的", "lines": ["独立路径：至少引入一系列新的处理语句或条件的任何路径", "基本集：由独立路径构成的集合", "由基本集导出的测试用例，保证每行代码语句至少被执行一次", "基本集合不一定唯一", "不需要活动图, 但最好绘制程序流程图", "最好每个单元都进行基本路径测试，对关键组件则是必要的"], "left": 0.8244564741907262, "top": 1.3349212598425197, "w": 7.7573622047244095, "h": 2.755188101487314, "size": 18.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": "3.\tDetermine a basis set of linearly independent paths\nequal to cyclomatic complexity number\nidentify predicate nodes as an aid in derivation of test cases"}, {"index": 64, "title": "示例：基本路径测试用例", "texts": [{"text": "Path1: 1-2-3-6-7-9-10-1-11", "lines": ["Path1: 1-2-3-6-7-9-10-1-11"], "left": 6.5352274715660545, "top": 1.9537871828521436, "w": 2.1875, "h": 0.5785126859142607, "size": 15.0, "bold": true, "is_title": false}, {"text": "示例：基本路径测试用例", "lines": ["示例：基本路径测试用例"], "left": 0.6019378827646544, "top": 0.25000109361329836, "w": 4.776042213473316, "h": 0.47265638670166227, "size": 18.0, "bold": false, "is_title": false}, {"text": "Path2: 1-2-3-6-8-9-10-1-11", "lines": ["Path2: 1-2-3-6-8-9-10-1-11"], "left": 6.5977274715660545, "top": 2.7662871828521434, "w": 1.875, "h": 0.5785126859142607, "size": 15.0, "bold": true, "is_title": false}, {"text": "Path3: 1-2-3-4-5-10-1-11", "lines": ["Path3: 1-2-3-4-5-10-1-11"], "left": 6.5977274715660545, "top": 3.6412871828521434, "w": 2.0625, "h": 0.5785126859142607, "size": 15.0, "bold": true, "is_title": false}, {"text": "Path4: 1-11", "lines": ["Path4: 1-11"], "left": 6.660228565179352, "top": 4.578787182852143, "w": 1.2621008311461068, "h": 0.32607174103237097, "size": 15.0, "bold": true, "is_title": false}, {"text": "1", "lines": ["1"], "left": 4.391477949143327, "top": 2.2285279171531007, "w": 0.20357352623659833, "h": 0.22265634481021102, "size": 12.0, "bold": true, "is_title": false}, {"text": "9", "lines": ["9"], "left": 3.4908863711183757, "top": 4.1035287155548765, "w": 0.19693525907670925, "h": 0.2760417842091505, "size": 12.0, "bold": true, "is_title": false}, {"text": "10", "lines": ["10"], "left": 4.346116456884085, "top": 4.300143382609508, "w": 0.3186368236746756, "h": 0.2760417842091505, "size": 12.0, "bold": true, "is_title": false}, {"text": "11", "lines": ["11"], "left": 2.357955442497307, "top": 4.386080919202922, "w": 0.308679422934842, "h": 0.2760417842091505, "size": 12.0, "bold": true, "is_title": false}, {"text": "2", "lines": ["2"], "left": 4.316244254664584, "top": 2.71680937507023, "w": 0.354040915194084, "h": 0.20833342204464186, "size": 12.0, "bold": true, "is_title": false}, {"text": "4", "lines": ["4"], "left": 5.350707553747299, "top": 3.5696743215654827, "w": 0.354040915194084, "h": 0.20833342204464186, "size": 12.0, "bold": true, "is_title": false}, {"text": "5", "lines": ["5"], "left": 5.350707553747299, "top": 4.082695373350413, "w": 0.354040915194084, "h": 0.20833342204464186, "size": 12.0, "bold": true, "is_title": false}, {"text": "8", "lines": ["8"], "left": 3.7475660346340867, "top": 3.944674481245838, "w": 0.354040915194084, "h": 0.20833342204464186, "size": 12.0, "bold": true, "is_title": false}, {"text": "7", "lines": ["7"], "left": 3.0350586928059924, "top": 3.9576953201236282, "w": 0.354040915194084, "h": 0.20833342204464186, "size": 12.0, "bold": true, "is_title": false}, {"text": "3", "lines": ["3"], "left": 4.391477949143327, "top": 3.1881637424462324, "w": 0.20357352623659833, "h": 0.22265634481021102, "size": 12.0, "bold": true, "is_title": false}, {"text": "6", "lines": ["6"], "left": 3.479822592518561, "top": 3.568372237677704, "w": 0.20357352623659833, "h": 0.22265634481021102, "size": 12.0, "bold": true, "is_title": false}, {"text": "保证每条基本路径被执行一次", "lines": ["保证每条基本路径被执行一次"], "left": 1.7666229221347332, "top": 0.8705949256342957, "w": 3.6299715660542433, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 65, "title": "逻辑覆盖小结", "texts": [{"text": "逻辑覆盖小结", "lines": ["逻辑覆盖小结"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 18.0, "bold": false, "is_title": false}, {"text": "语句覆盖", "lines": ["语句覆盖"], "left": 3.991376859142607, "top": 0.9110017497812773, "w": 1.3288877952755906, "h": 0.44296259842519686, "size": 18.0, "bold": false, "is_title": false}, {"text": "判定覆盖DC", "lines": ["判定覆盖DC"], "left": 3.932315179352581, "top": 1.8559886264216974, "w": 1.5060728346456693, "h": 0.44296259842519686, "size": 18.0, "bold": false, "is_title": false}, {"text": "条件覆盖CC", "lines": ["条件覆盖CC"], "left": 2.1014031058617673, "top": 1.8855194663167103, "w": 1.4765419947506562, "h": 0.44296259842519686, "size": 18.0, "bold": false, "is_title": false}, {"text": "条件/判定覆盖CC/DC", "lines": ["条件/判定覆盖CC/DC"], "left": 3.489352580927384, "top": 2.800975503062117, "w": 2.4805905511811024, "h": 0.44296259842519686, "size": 18.0, "bold": false, "is_title": false}, {"text": "条件组合覆盖MCC", "lines": ["条件组合覆盖MCC"], "left": 3.7551301399825023, "top": 3.716431539807524, "w": 2.1852821522309713, "h": 0.44296259842519686, "size": 18.0, "bold": false, "is_title": false}, {"text": "基本路径覆盖BPC", "lines": ["基本路径覆盖BPC"], "left": 5.9994739720035, "top": 1.8559886264216974, "w": 2.3034055118110235, "h": 0.44296259842519686, "size": 18.0, "bold": false, "is_title": false}, {"text": "Condition Coverage (CC)\nDecision Coverage (DC)\nMultiple Condition Coverage (MCC)\nModiﬁed Condition/Decision Coverage (MC/DC)", "lines": ["Condition Coverage (CC)", "Decision Coverage (DC)", "Multiple Condition Coverage (MCC)", "Modiﬁed Condition/Decision Coverage (MC/DC)"], "left": 0.7429844706911636, "top": 3.9160597112860893, "w": 4.695403543307086, "h": 1.4289588801399824, "size": 13.5, "bold": true, "is_title": false}, {"text": "MC/DC", "lines": ["MC/DC"], "left": 6.678683289588801, "top": 2.8305063429571304, "w": 1.0631102362204725, "h": 0.44296259842519686, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 66, "title": "拓展", "texts": [{"text": "拓展", "lines": ["拓展"], "left": 0.5815244969378828, "top": 0.3462554680664917, "w": 8.925108267716535, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "数据流覆盖：数据流程图、代码中变量的定义与引用\n控制流覆盖：业务流程基本路径覆盖，代码中的逻辑覆盖", "lines": ["数据流覆盖：数据流程图、代码中变量的定义与引用", "控制流覆盖：业务流程基本路径覆盖，代码中的逻辑覆盖"], "left": 0.5770833333333333, "top": 2.2761307961504813, "w": 8.845833333333333, "h": 1.0727362204724409, "size": 20.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 67, "title": "3.5 基于缺陷模式的测试", "texts": [{"text": "3.5 基于缺陷模式的测试", "lines": ["3.5 基于缺陷模式的测试"], "left": 1.3325524934383202, "top": 2.19298665791776, "w": 7.776142825896763, "h": 0.8583005249343832, "size": 45.0, "bold": true, "is_title": false}, {"text": "3.5.1 常见的缺陷模式\n3.5.2 DPBT的自动化实现", "lines": ["3.5.1 常见的缺陷模式", "3.5.2 DPBT的自动化实现"], "left": 4.0244564741907265, "top": 3.3668088363954505, "w": 3.4211953193350833, "h": 1.5116338582677165, "size": 20.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 68, "title": "3.5.1 常见的缺陷模式", "texts": [{"text": "3.5.1 常见的缺陷模式", "lines": ["3.5.1 常见的缺陷模式"], "left": 0.7614227909011374, "top": 0.17973534558180226, "w": 5.19742782152231, "h": 0.625, "size": 18.0, "bold": false, "is_title": false}, {"text": "故障模型\n安全漏洞模型\n性能模型\n并发故障模型\n不良习惯模型\n代码国际化模型\n易诱骗代码模型", "lines": ["故障模型", "安全漏洞模型", "性能模型", "并发故障模型", "不良习惯模型", "代码国际化模型", "易诱骗代码模型"], "left": 1.4931813210848643, "top": 1.2995548993875765, "w": 3.122917760279965, "h": 3.265012029746282, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-bc3871d16f.jpg", "left": 5.383902012248469, "top": 1.5131441382327209, "w": 2.5239457567804027, "h": 3.0514227909011375}], "tables": [], "notes": ""}, {"index": 69, "title": "3.5.2 DPBT的自动化实现", "texts": [{"text": "3.5.2 DPBT的自动化实现", "lines": ["3.5.2 DPBT的自动化实现"], "left": 0.6032600612423447, "top": 0.16119641294838144, "w": 5.929347112860892, "h": 0.625, "size": 28.0, "bold": false, "is_title": false}, {"text": "预处理/预编译\n词法分析(Lexical Analysis)\n语法分析( Parsing) 和语义处理( Semantic Analysis)\n抽象语法树生成\n控制流图生成\nIP 扫描\n人工确认", "lines": ["预处理/预编译", "词法分析(Lexical Analysis)", "语法分析( Parsing) 和语义处理( Semantic Analysis)", "抽象语法树生成", "控制流图生成", "IP 扫描", "人工确认"], "left": 1.8106692913385827, "top": 1.6395199037620298, "w": 6.378661417322834, "h": 3.324219160104987, "size": 18.0, "bold": false, "is_title": false}, {"text": "DPBT：Defect-Pattern-Based Testing", "lines": ["DPBT：Defect-Pattern-Based Testing"], "left": 1.1195647419072616, "top": 0.9673917322834645, "w": 3.9962182852143484, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 70, "title": "实现的通用框架", "texts": [{"text": "实现的通用框架", "lines": ["实现的通用框架"], "left": 0.6273862642169729, "top": 0.12461942257217848, "w": 4.429675196850393, "h": 0.7457042869641295, "size": 28.0, "bold": true, "is_title": false}, {"text": "OWASP", "lines": ["OWASP"], "left": 1.0396270778652668, "top": 2.8723720472440943, "w": 1.239727690288714, "h": 0.36249562554680664, "size": 12.6, "bold": false, "is_title": false}, {"text": "程序状态空间", "lines": ["程序状态空间"], "left": 4.892058180227472, "top": 2.5758016185476817, "w": 1.3582327209098863, "h": 0.45561351706036746, "size": 12.6, "bold": false, "is_title": false}, {"text": "缺陷模式", "lines": ["缺陷模式"], "left": 3.0017607174103236, "top": 3.6309470691163606, "w": 0.7280763342082239, "h": 0.6224989063867017, "size": 12.6, "bold": false, "is_title": false}, {"text": "基于缺陷模式的\n逻辑表达式", "lines": ["基于缺陷模式的", "逻辑表达式"], "left": 4.649403980752406, "top": 3.6137740594925636, "w": 1.8707502187226597, "h": 0.6396719160104987, "size": 12.6, "bold": false, "is_title": false}, {"text": "抽象\n语法树", "lines": ["抽象", "语法树"], "left": 2.329031058617673, "top": 1.3805369641294838, "w": 1.0725, "h": 0.6225, "size": 16.2, "bold": false, "is_title": false}, {"text": "数据流等基本分析方法", "lines": ["数据流等基本分析方法"], "left": 4.816819772528434, "top": 1.4108333333333334, "w": 1.515465879265092, "h": 0.5124857830271216, "size": 12.6, "bold": false, "is_title": false}, {"text": "解析", "lines": ["解析"], "left": 1.772541557305337, "top": 1.3331616360454943, "w": 0.5560728346456693, "h": 0.3130271216097988, "size": 12.6, "bold": false, "is_title": false}, {"text": "CERT", "lines": ["CERT"], "left": 1.0728597987751531, "top": 4.222989938757656, "w": 1.137234251968504, "h": 0.33462051618547684, "size": 12.6, "bold": false, "is_title": false}, {"text": "CWE", "lines": ["CWE"], "left": 1.1214829396325459, "top": 3.5512478127734033, "w": 1.016694006999125, "h": 0.41, "size": 12.6, "bold": false, "is_title": false}, {"text": "函数调用", "lines": ["函数调用"], "left": 6.742450787401575, "top": 0.8260476815398076, "w": 1.2751487314085739, "h": 0.34761154855643045, "size": 12.6, "bold": false, "is_title": false}, {"text": "SSA", "lines": ["SSA"], "left": 6.742259405074366, "top": 1.2923064304461942, "w": 1.2753390201224848, "h": 0.332509842519685, "size": 12.6, "bold": false, "is_title": false}, {"text": "指向分析", "lines": ["指向分析"], "left": 6.742259405074366, "top": 1.7377012248468942, "w": 1.2753390201224848, "h": 0.3287631233595801, "size": 12.6, "bold": false, "is_title": false}, {"text": "前后支配", "lines": ["前后支配"], "left": 6.742449693788276, "top": 2.1661329833770777, "w": 1.2753390201224848, "h": 0.3031649168853893, "size": 12.6, "bold": false, "is_title": false}, {"text": "Mod-effect", "lines": ["Mod-effect"], "left": 8.103378171478566, "top": 0.8859372265966754, "w": 1.075586176727909, "h": 0.43955708661417325, "size": 12.6, "bold": false, "is_title": false}, {"text": "多态分析", "lines": ["多态分析"], "left": 8.131935695538058, "top": 1.4036056430446193, "w": 1.0496030183727034, "h": 0.34761154855643045, "size": 12.6, "bold": false, "is_title": false}, {"text": "全局变量分析", "lines": ["全局变量分析"], "left": 8.105952537182851, "top": 1.881998031496063, "w": 1.075586176727909, "h": 0.5152515310586177, "size": 12.6, "bold": false, "is_title": false}, {"text": "抽象解释", "lines": ["抽象解释"], "left": 3.649633639545057, "top": 1.1263538932633421, "w": 0.8602220034995626, "h": 0.48998140857392825, "size": 12.6, "bold": false, "is_title": false}, {"text": "符号执行", "lines": ["符号执行"], "left": 3.708494094488189, "top": 1.7356157042869642, "w": 0.9192738407699038, "h": 0.41451990376202974, "size": 12.6, "bold": false, "is_title": false}, {"text": "图可达", "lines": ["图可达"], "left": 3.6909273840769905, "top": 2.245174978127734, "w": 1.0350524934383203, "h": 0.3383497375328084, "size": 12.6, "bold": false, "is_title": false}, {"text": "被测源程序", "lines": ["被测源程序"], "left": 0.3572528433945757, "top": 1.1263538932633421, "w": 1.533406605424322, "h": 1.1203926071741033, "size": 12.6, "bold": false, "is_title": false}, {"text": "SMT", "lines": ["SMT"], "left": 7.978721566054244, "top": 2.7769903762029746, "w": 0.9406692913385827, "h": 0.46724737532808397, "size": 12.6, "bold": false, "is_title": false}, {"text": "检测结果", "lines": ["检测结果"], "left": 7.8917104111986, "top": 4.574604111986002, "w": 1.1146905074365705, "h": 0.3854833770778653, "size": 12.6, "bold": false, "is_title": false}, {"text": "逻辑表达式求解", "lines": ["逻辑表达式求解"], "left": 7.634845800524935, "top": 3.7452865266841644, "w": 1.6284208223972003, "h": 0.3854833770778653, "size": 12.6, "bold": false, "is_title": false}, {"text": "SSA：Static Single-Assignment\nSMT：satisfiability modulo theories", "lines": ["SSA：Static Single-Assignment", "SMT：satisfiability modulo theories"], "left": 4.543699693788277, "top": 4.728897637795275, "w": 3.125540244969379, "h": 0.5048829833770778, "size": 12.0, "bold": false, "is_title": false}, {"text": "CWE：Common Weakness Enumeration", "lines": ["CWE：Common Weakness Enumeration"], "left": 0.6273862642169729, "top": 4.845487751531059, "w": 3.3039370078740156, "h": 0.3029297900262467, "size": 12.0, "bold": false, "is_title": false}, {"text": "Handbook of satisfiability. Vol. 185. IOS press, 2009", "lines": ["Handbook of satisfiability. Vol. 185. IOS press, 2009"], "left": 4.214676290463692, "top": 5.265511811023622, "w": 3.764045275590551, "h": 0.3029297900262467, "size": 12.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": "CWE（Common Weakness Enumeration，通用缺陷枚举），是一个安全漏洞词典,是由美国国土安全部国家计算机安全部门资助的软件安全战略性项目，枚举了上千种最新的漏洞(缺陷)模式，通过该认证代表了产品或服务与“CWE”兼容，证明产品能够支持国际上主要漏洞(缺陷)模式的检测\n布尔可满足性问题（Boolean satisfiability problem；SAT ）属于决定性问题，也是第一个被证明属于NP完全的问题\nSMT求解器也被集成到一些大型工具中,比如HOL/Isabelle、ESC/Java2、ACL2、UCLID、BLAST、ureka,CUTE和PEX等."}, {"index": 71, "title": "3.6 基于模型的测试", "texts": [{"text": "3.6 基于模型的测试", "lines": ["3.6 基于模型的测试"], "left": 1.3932053805774278, "top": 2.1741010498687663, "w": 7.213589238845144, "h": 0.9087893700787402, "size": 48.0, "bold": true, "is_title": false}, {"text": "MBT：Model-based testing", "lines": ["MBT：Model-based testing"], "left": 3.0063112423447067, "top": 3.1810422134733156, "w": 4.605372922134733, "h": 0.5722003499562555, "size": 28.0, "bold": false, "is_title": false}, {"text": "3.6.1 功能图法\n3.6.2 模糊测试方法", "lines": ["3.6.1 功能图法", "3.6.2 模糊测试方法"], "left": 3.8212248468941383, "top": 3.753242563429571, "w": 2.975543525809274, "h": 1.051208442694663, "size": 20.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 72, "title": "什么是MBT？", "texts": [{"text": "什么是MBT？", "lines": ["什么是MBT？"], "left": 0.6384219160104987, "top": 0.1678597987751531, "w": 5.138020559930009, "h": 0.7304691601049869, "size": 18.0, "bold": false, "is_title": false}, {"text": "基于模型的测试 (MBT, Model-based testing)：通过构建能够正确描述被测软件系统功能特性的模型，然后基于这个模型产生测试用例并执行这些测试用例的过程", "lines": ["基于模型的测试 (MBT, Model-based testing)：通过构建能够正确描述被测软件系统功能特性的模型，然后基于这个模型产生测试用例并执行这些测试用例的过程"], "left": 0.36872265966754153, "top": 1.394362423447069, "w": 3.534503499562555, "h": 2.4254713473315834, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-91eef8d46e.png", "left": 4.204843613298338, "top": 0.7585444006999125, "w": 5.739650043744532, "h": 3.972638888888889}], "tables": [], "notes": "“模糊测试方法、变异测试” 在介绍安全性测试时已讨论过"}, {"index": 73, "title": "MBT基本原理（实施过程）", "texts": [{"text": "MBT基本原理（实施过程）", "lines": ["MBT基本原理（实施过程）"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "为被测试系统（SUT）建模\n基于模型产生测试用例\n将抽象的测试具体化使测试用例具有可执行性\n执行测试\n分析测试结果", "lines": ["为被测试系统（SUT）建模", "基于模型产生测试用例", "将抽象的测试具体化使测试用例具有可执行性", "执行测试", "分析测试结果"], "left": 0.6972276902887139, "top": 1.384022309711286, "w": 3.9871303587051616, "h": 3.1715594925634294, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-cfe81ae468.png", "left": 4.684358048993876, "top": 0.39256452318460194, "w": 4.864028871391076, "h": 4.656215004374453}], "tables": [], "notes": ""}, {"index": 74, "title": "MBT 架构", "texts": [{"text": "MBT 架构", "lines": ["MBT 架构"], "left": 0.5978258967629047, "top": 0.0, "w": 3.2655205599300086, "h": 0.7245067804024496, "size": 28.0, "bold": true, "is_title": false}], "pics": [{"file": "img-c6f782c063.png", "left": 2.053825459317585, "top": 0.0, "w": 6.348349737532808, "h": 5.625}], "tables": [], "notes": ""}, {"index": 75, "title": "常见的MBT方法", "texts": [{"text": "常见的MBT方法", "lines": ["常见的MBT方法"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "有限状态机（finite state machines，FSM），包括扩展的有限状态机（EFSM）\n符号执行(Symbolic Execution) 是指一种使用符号值代替数字值执行程序的程序分析技术\n定理证明（Theorem proving）通过一组能够明确定义系统行为的逻辑表达式 （谓词）来完成模型构建\n模型检验（Model checking）对属性的测试，如果属性在模型中是有效的，模型检验能发现证据或反例\n随机／半随机模型（如模糊测试方法、变异测试、马尔科夫链）\n其它方法：基于UML的MBT、因果图方法等", "lines": ["有限状态机（finite state machines，FSM），包括扩展的有限状态机（EFSM）", "符号执行(Symbolic Execution) 是指一种使用符号值代替数字值执行程序的程序分析技术", "定理证明（Theorem proving）通过一组能够明确定义系统行为的逻辑表达式 （谓词）来完成模型构建", "模型检验（Model checking）对属性的测试，如果属性在模型中是有效的，模型检验能发现证据或反例", "随机／半随机模型（如模糊测试方法、变异测试、马尔科夫链）", "其它方法：基于UML的MBT、因果图方法等"], "left": 0.36585520559930007, "top": 1.0439238845144356, "w": 9.171780402449693, "h": 4.273998250218723, "size": 18.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": "约束逻辑编程和符号执行（Constraint logic programming and symbolic execution），约束编程可用于选择测试用例，这是通过求解一组变量之上的约束以满足特定的约束\n随机／半随机模型，完成一些不确定性的测试，包括模糊控制器（Fuzz Controller）、马尔科夫链（Markov chain）等。\n变异测试（mutation-based fuzzers）生成测试（generation-based fuzzers）"}, {"index": 76, "title": "3.6.1 功能图法", "texts": [{"text": "3.6.1 功能图法", "lines": ["3.6.1 功能图法"], "left": 0.7089063867016623, "top": 0.14385498687664042, "w": 4.680134514435696, "h": 0.6838790463692038, "size": 18.0, "bold": false, "is_title": false}, {"text": "每个程序的功能通常由静态说明和动态说明组成\n静态说明描述了输入条件和输出条件之间的对应关系\n动态说明描述了输入数据的次序或者转移的次序\n功能图法就是为了解决动态说明问题的一种测试用例的设计方法 \n功能图由状态迁移图（state transition diagram，STD）和逻辑功能模型（logic function model， LFM）构成", "lines": ["每个程序的功能通常由静态说明和动态说明组成", "静态说明描述了输入条件和输出条件之间的对应关系", "动态说明描述了输入数据的次序或者转移的次序", "功能图法就是为了解决动态说明问题的一种测试用例的设计方法", "功能图由状态迁移图（state transition diagram，STD）和逻辑功能模型（logic function model， LFM）构成"], "left": 0.7089063867016623, "top": 1.1729866579177604, "w": 8.431734470691163, "h": 2.9357097550306213, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 77, "title": "状态迁移图", "texts": [{"text": "状态迁移图", "lines": ["状态迁移图"], "left": 0.6918810148731409, "top": 0.28989720034995625, "w": 4.823421916010498, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}, {"text": "状态迁移图，描述系统状态变化的动态信息——动态说明，由状态和迁移来描述，状态指出数据输入的位置（或时间），而迁移则指明状态的改变", "lines": ["状态迁移图，描述系统状态变化的动态信息——动态说明，由状态和迁移来描述，状态指出数据输入的位置（或时间），而迁移则指明状态的改变"], "left": 0.7763560804899388, "top": 0.8857874015748032, "w": 8.72376968503937, "h": 1.1367191601049869, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-9de2ee7969.png", "left": 1.847179571303587, "top": 2.1574595363079614, "w": 6.582123797025372, "h": 2.769076990376203}], "tables": [], "notes": ""}, {"index": 78, "title": "如何设计测试用例？", "texts": [{"text": "如何设计测试用例？", "lines": ["如何设计测试用例？"], "left": 0.6433005249343832, "top": 0.2854866579177603, "w": 5.25, "h": 0.39973972003499564, "size": 18.0, "bold": false, "is_title": false}, {"text": "从功能逻辑模型（决策表或因果图）导出局部测试用例，覆盖各个状态的各种输入数据的组合\n从状态迁移图导出整体的测试用例，以覆盖系统（程序）控制的逻辑路径", "lines": ["从功能逻辑模型（决策表或因果图）导出局部测试用例，覆盖各个状态的各种输入数据的组合", "从状态迁移图导出整体的测试用例，以覆盖系统（程序）控制的逻辑路径"], "left": 1.2969160104986877, "top": 1.7313123359580052, "w": 7.453083989501312, "h": 1.5872397200349957, "size": 18.0, "bold": false, "is_title": false}, {"text": "功能图法设计测试用例，就是如何覆盖软件所表现出来的所有状态，可以转化为两个层次的测试用例", "lines": ["功能图法设计测试用例，就是如何覆盖软件所表现出来的所有状态，可以转化为两个层次的测试用例"], "left": 0.8583562992125984, "top": 1.0050360892388452, "w": 8.02207895888014, "h": 0.6058595800524934, "size": 18.0, "bold": false, "is_title": false}, {"text": "功能图法是综合运用黑盒方法和白盒方法来设计测试用例，即整体上选用白盒方法——路径覆盖、分支和条件覆盖等，而局部上选用的是黑盒方法——决策表或因果图方法", "lines": ["功能图法是综合运用黑盒方法和白盒方法来设计测试用例，即整体上选用白盒方法——路径覆盖、分支和条件覆盖等，而局部上选用的是黑盒方法——决策表或因果图方法"], "left": 0.956687445319335, "top": 3.77497375328084, "w": 8.249832677165355, "h": 1.1255391513560804, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 79, "title": "3.6.2 模糊测试方法", "texts": [{"text": "3.6.2 模糊测试方法", "lines": ["3.6.2 模糊测试方法"], "left": 0.634841426071741, "top": 0.2577001312335958, "w": 5.929838145231846, "h": 0.4609383202099738, "size": 18.0, "bold": false, "is_title": false}, {"text": "模糊测试：在一个被测试程序中附加上随机数据（fuzz）作为程序的输入。如果被测试程序出现问题（例如 Crush ,或者异常退出），就可以定位程序的缺陷。\n模糊测试的巨大优势：测试设计极其简单，系统的行为先入为主。", "lines": ["模糊测试：在一个被测试程序中附加上随机数据（fuzz）作为程序的输入。如果被测试程序出现问题（例如 Crush ,或者异常退出），就可以定位程序的缺陷。", "模糊测试的巨大优势：测试设计极其简单，系统的行为先入为主。"], "left": 0.5077657480314961, "top": 1.607642169728784, "w": 5.724263998250219, "h": 2.771408573928259, "size": 18.0, "bold": true, "is_title": false}, {"text": "79", "lines": ["79"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "Fuzz Testing", "lines": ["Fuzz Testing"], "left": 0.5587543744531933, "top": 0.8459525371828521, "w": 1.7997364391951005, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-9a78dadee4.jpg", "left": 6.8470844269466316, "top": 1.3529254155730535, "w": 2.551464348206474, "h": 3.1431452318460193}], "tables": [], "notes": ""}, {"index": 80, "title": "几种不同模糊器的构造", "texts": [{"text": "几种不同模糊器的构造", "lines": ["几种不同模糊器的构造"], "left": 0.5090212160979878, "top": 0.3595034995625547, "w": 6.000732720909887, "h": 0.4609372265966754, "size": 18.0, "bold": false, "is_title": false}, {"text": "80", "lines": ["80"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "黑盒随机模糊，对正确格式的输入数据进行随机变异，然后用这些变异的输入运行程序，看是否能够触发异常。\n基于语法的模糊，是模糊复杂格式输入的替代方法，需要指定输入格式的输入语法、哪些输入部分要进行模糊化以及如何模糊化。\n白盒模糊处理，由微软研究院于2008年首创，这种方法包括：动态地执行被测程序，从执行过程中遇到的条件分支收集输入约束。然后，系统地逐个否定所有这些约束，并使用约束求解器求解，其解被映射到执行不同程序执行路径的新输入。使用系统搜索技术重复这个过程，试图扫描程序的所有可行的执行路径。", "lines": ["黑盒随机模糊，对正确格式的输入数据进行随机变异，然后用这些变异的输入运行程序，看是否能够触发异常。", "基于语法的模糊，是模糊复杂格式输入的替代方法，需要指定输入格式的输入语法、哪些输入部分要进行模糊化以及如何模糊化。", "白盒模糊处理，由微软研究院于2008年首创，这种方法包括：动态地执行被测程序，从执行过程中遇到的条件分支收集输入约束。然后，系统地逐个否定所有这些约束，并使用约束求解器求解，其解被映射到执行不同程序执行路径的新输入。使用系统搜索技术重复这个过程，试图扫描程序的所有可行的执行路径。"], "left": 0.6554538495188101, "top": 1.070145450568679, "w": 8.689092300962379, "h": 3.662995406824147, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": "黑盒随机模糊，对正确格式的输入数据进行随机变异，然后用这些变异的输入运行程序，看是否能够触发异常。这是一种简单的hack，如果一个应用从未进行过模糊测试，可以用这种技术有效地发现应用中的漏洞。\n基于语法的模糊，是模糊复杂格式输入的替代方法，需要指定输入格式的输入语法，还指定哪些输入部分要进行模糊化以及如何模糊化。基于语法的模糊生成器会生成许多新的输入，每个输入满足语法编码的约束。基于语法的fuzzing通过模糊生成器的用户的创造力和专业知识来指导fuzzing。\n白盒模糊处理，由微软研究院于2008年首创，这种方法包括：动态地执行测试下的程序，并从执行过程中遇到的条件分支收集输入约束。然后，系统地逐个否定所有这些约束，并使用约束求解器求解，其解被映射到执行不同程序执行路径的新输入。使用系统搜索技术重复这个过程，试图扫描程序的所有可行的执行路径。与黑盒随机模糊相比，白盒模糊通常更精确，可以运行更多的代码，从而发现更多的bug。"}, {"index": 81, "title": "American fuzzy lop方法", "texts": [{"text": "American fuzzy lop方法", "lines": ["American fuzzy lop方法"], "left": 0.555424321959755, "top": 0.3281233595800525, "w": 6.796874453193351, "h": 0.4609383202099738, "size": 18.0, "bold": false, "is_title": false}, {"text": "AFL是一款开源的模糊测试工具，是当今使用最广泛的Fuzzer，这个工具在程序执行前对程序源码进行插桩（instrumentation），以便在程序执行过程中实时获取程序的执行情况。AFL采用遗传算法对程序的输入进行变异能够在程序运行的时候注入自己的代码， 然后自动产生测试用例进行模糊测试。简化一下，整个算法可以总结为：\n将用户提供的初始测试用例加载到队列中。\n从队列中获取下一个输入文件。\n试图将测试用例修剪到不改变程序测量行为的最小尺寸。\n使用均衡的、经过充分研究的各种传统模糊策略，重复地对文件进行变异。\n如果任何产生的变异导致插桩记录新的状态转换，将变异的输出作为一个新的条目添加到队列中。\n转到第2步", "lines": ["AFL是一款开源的模糊测试工具，是当今使用最广泛的Fuzzer，这个工具在程序执行前对程序源码进行插桩（instrumentation），以便在程序执行过程中实时获取程序的执行情况。AFL采用遗传算法对程序的输入进行变异能够在程序运行的时候注入自己的代码， 然后自动产生测试用例进行模糊测试。简化一下，整个算法可以总结为：", "将用户提供的初始测试用例加载到队列中。", "从队列中获取下一个输入文件。", "试图将测试用例修剪到不改变程序测量行为的最小尺寸。", "使用均衡的、经过充分研究的各种传统模糊策略，重复地对文件进行变异。", "如果任何产生的变异导致插桩记录新的状态转换，将变异的输出作为一个新的条目添加到队列中。", "转到第2步"], "left": 0.555424321959755, "top": 1.0279932195975503, "w": 8.803066491688538, "h": 3.811628390201225, "size": 18.0, "bold": true, "is_title": false}, {"text": "https://github.com/google/AFL", "lines": ["https://github.com/google/AFL"], "left": 0.555424321959755, "top": 4.876599956255468, "w": 5.075470253718286, "h": 0.3365890201224847, "size": 14.0, "bold": false, "is_title": false}, {"text": "https://afl-1.readthedocs.io/en/latest/", "lines": ["https://afl-1.readthedocs.io/en/latest/"], "left": 3.9538615485564303, "top": 4.839621609798775, "w": 3.527270341207349, "h": 0.3365890201224847, "size": 14.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 82, "title": "变异测试", "texts": [{"text": "变异测试", "lines": ["变异测试"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 18.0, "bold": false, "is_title": false}, {"text": "mutation testing", "lines": ["mutation testing"], "left": 2.42334864391951, "top": 0.48977799650043746, "w": 2.1049529746281714, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "变异测试（Mutation Testing）是一种在细节方面改进程序源代码的软件测试方法。变异操作是模拟典型应用错误（定位代码的弱点）、或强制产生有效地测试", "lines": ["变异测试（Mutation Testing）是一种在细节方面改进程序源代码的软件测试方法。变异操作是模拟典型应用错误（定位代码的弱点）、或强制产生有效地测试"], "left": 0.6509426946631671, "top": 0.9104746281714786, "w": 8.4528291776028, "h": 0.8611767279090113, "size": 16.0, "bold": false, "is_title": false}], "pics": [{"file": "img-d0c5978c6b.png", "left": 0.8962292213473316, "top": 3.6754975940507437, "w": 4.1692760279965, "h": 1.6133278652668417}, {"file": "img-1f27a08bf2.png", "left": 0.8962292213473316, "top": 1.9481080489938758, "w": 4.431176727909011, "h": 1.4950185914260716}, {"file": "img-9ff51b43ba.png", "left": 5.550425415573053, "top": 1.7716513560804898, "w": 3.553345363079615, "h": 3.389874234470691}], "tables": [], "notes": ""}, {"index": 83, "title": "变异测试的方法与流程", "texts": [{"text": "变异测试的方法与流程", "lines": ["变异测试的方法与流程"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-252d2ff7a6.png", "left": 5.0684700349956255, "top": 1.584319772528434, "w": 4.831807742782153, "h": 3.047755905511811}, {"file": "img-f91e472da9.png", "left": 0.45139982502187226, "top": 0.930582895888014, "w": 4.380409011373579, "h": 4.506463254593176}], "tables": [], "notes": ""}, {"index": 84, "title": "3.7 形式化方法", "texts": [{"text": "3.7 形式化方法", "lines": ["3.7 形式化方法"], "left": 1.3932053805774278, "top": 2.1741010498687663, "w": 7.213589238845144, "h": 0.9087893700787402, "size": 48.0, "bold": true, "is_title": false}, {"text": "3.7.1 形式化方法\n3.7.2 形式化验证\n3.7.3 扩展有限状态机方法", "lines": ["3.7.1 形式化方法", "3.7.2 形式化验证", "3.7.3 扩展有限状态机方法"], "left": 3.745138888888889, "top": 3.2641108923884516, "w": 3.4613845144356956, "h": 1.5560914260717411, "size": 20.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 85, "title": "3.7.1 形式化方法", "texts": [{"text": "3.7.1 形式化方法", "lines": ["3.7.1 形式化方法"], "left": 0.5983803587051618, "top": 0.15567694663167103, "w": 5.109191819772528, "h": 0.625, "size": 18.0, "bold": false, "is_title": false}, {"text": "形式化方法:基于数学的方法（数学表示、精确的数学语义）来描述目标软件系统属性的一种技术\n形式化规范说明语言的构成：语法、语义和一组关系\n形式化方法可应用在软件规格和验证之上，包括软件系统的精确建模和软件规格特性的具体描述，即可以看作是面向模型的形式化方法和面向属性的形式化方法", "lines": ["形式化方法:基于数学的方法（数学表示、精确的数学语义）来描述目标软件系统属性的一种技术", "形式化规范说明语言的构成：语法、语义和一组关系", "形式化方法可应用在软件规格和验证之上，包括软件系统的精确建模和软件规格特性的具体描述，即可以看作是面向模型的形式化方法和面向属性的形式化方法"], "left": 0.678403324584427, "top": 1.17291447944007, "w": 8.799856736657917, "h": 2.9530839895013123, "size": 18.0, "bold": true, "is_title": false}, {"text": "http://en.wikipedia.org/wiki/Formal_method", "lines": ["http://en.wikipedia.org/wiki/Formal_method"], "left": 1.7162259405074365, "top": 4.785261373578303, "w": 3.820209973753281, "h": 0.3365890201224847, "size": 14.0, "bold": false, "is_title": false}, {"text": "可参考：", "lines": ["可参考："], "left": 0.8940758967629047, "top": 4.785261373578303, "w": 0.9449868766404199, "h": 0.3365890201224847, "size": 14.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 86, "title": "示例", "texts": [{"text": "示例", "lines": ["示例"], "left": 0.6940988626421697, "top": 0.18697944006999126, "w": 3.101094706911636, "h": 0.625, "size": 18.0, "bold": false, "is_title": false}, {"text": "巴科斯范式（Backus–Naur Form, BNF)", "lines": ["巴科斯范式（Backus–Naur Form, BNF)"], "left": 0.9174617235345581, "top": 1.0262718722659667, "w": 6.171945538057742, "h": 0.4039063867016623, "size": 18.0, "bold": true, "is_title": false}], "pics": [{"file": "img-7db23985af.png", "left": 0.9174617235345581, "top": 1.6444706911636044, "w": 7.439818460192476, "h": 2.832853237095363}], "tables": [], "notes": ""}, {"index": 87, "title": "形式化三部曲", "texts": [{"text": "形式化三部曲", "lines": ["形式化三部曲"], "left": 0.5404866579177603, "top": 0.17030839895013122, "w": 4.45951334208224, "h": 0.625, "size": 18.0, "bold": false, "is_title": false}, {"text": "形式化描述\n形式化开发\n形式化验证", "lines": ["形式化描述", "形式化开发", "形式化验证"], "left": 1.032775590551181, "top": 1.732752624671916, "w": 2.4889654418197726, "h": 1.8604429133858267, "size": 24.0, "bold": true, "is_title": false}], "pics": [{"file": "img-b07e30acb6.png", "left": 4.824600831146107, "top": 1.4997965879265092, "w": 4.964288057742782, "h": 2.8915069991251094}], "tables": [], "notes": ""}, {"index": 88, "title": "形式化的具体方法", "texts": [{"text": "形式化的具体方法", "lines": ["形式化的具体方法"], "left": 0.6545581802274716, "top": 0.24023840769903762, "w": 4.6957600612423445, "h": 0.625, "size": 18.0, "bold": false, "is_title": false}, {"text": "基于模型的方法，如Z语言、B语言等\n代数方法，如OBJ、CLEAR、ASL、ACT等\n过程代数方法，如CSP、CCS、ACP、LOTOS、TPCCS等\n基于逻辑的方法，如区间时序逻辑、Hoare 逻辑、模态逻辑、时序逻辑、时序代理模型等。\n基于网络的方法", "lines": ["基于模型的方法，如Z语言、B语言等", "代数方法，如OBJ、CLEAR、ASL、ACT等", "过程代数方法，如CSP、CCS、ACP、LOTOS、TPCCS等", "基于逻辑的方法，如区间时序逻辑、Hoare 逻辑、模态逻辑、时序逻辑、时序代理模型等。", "基于网络的方法"], "left": 0.947260498687664, "top": 1.2851563867016622, "w": 8.650566491688538, "h": 3.0546872265966756, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 89, "title": "3.7.2 形式化验证", "texts": [{"text": "3.7.2 形式化验证", "lines": ["3.7.2 形式化验证"], "left": 0.6045363079615048, "top": 0.19659448818897637, "w": 5.345438538932633, "h": 0.625, "size": 18.0, "bold": false, "is_title": false}, {"text": "形式化验证，就是根据某些形式规范或属性，使用形式逻辑方法证明其正确性或非正确性。\n一般通过形式化规范进行分析和推理，研究它的各种静态和动态性质，验证是否一致、完整，从而找出所存在的错误和缺陷。\n无法证明某个系统没有缺陷，因为不能定义 “没有缺陷”。只能证明一个系统不存在我们可以想得到的缺陷，以及验证满足系统质量要求的属性", "lines": ["形式化验证，就是根据某些形式规范或属性，使用形式逻辑方法证明其正确性或非正确性。", "一般通过形式化规范进行分析和推理，研究它的各种静态和动态性质，验证是否一致、完整，从而找出所存在的错误和缺陷。", "无法证明某个系统没有缺陷，因为不能定义 “没有缺陷”。只能证明一个系统不存在我们可以想得到的缺陷，以及验证满足系统质量要求的属性"], "left": 0.7305063429571304, "top": 1.4229166666666666, "w": 8.53898731408574, "h": 2.935779746281715, "size": 18.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 90, "title": "形式化验证的一些具体方法", "texts": [{"text": "形式化验证的一些具体方法", "lines": ["形式化验证的一些具体方法"], "left": 0.7288145231846019, "top": 0.16406167979002625, "w": 5.315551181102363, "h": 0.625, "size": 18.0, "bold": false, "is_title": false}, {"text": "有限状态机（FSM）或扩展有限状态机（EFSM）\nSPIN和线性时态语言\nUML 语义转换 \n标准RBAC模型\n扩展的RBAC模型和基于粒计算的RBAC模型 \n符号模型检验\nBAN逻辑模型", "lines": ["有限状态机（FSM）或扩展有限状态机（EFSM）", "SPIN和线性时态语言", "UML 语义转换", "标准RBAC模型", "扩展的RBAC模型和基于粒计算的RBAC模型", "符号模型检验", "BAN逻辑模型"], "left": 1.494339457567804, "top": 1.4409317585301837, "w": 6.342618110236221, "h": 3.7434897200349955, "size": 20.0, "bold": false, "is_title": false}, {"text": "多数是基于模型的，也可以归为MBT方法", "lines": ["多数是基于模型的，也可以归为MBT方法"], "left": 0.9871205161854768, "top": 0.9130435258092738, "w": 4.779277121609799, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 91, "title": "有限状态机", "texts": [{"text": "有限状态机", "lines": ["有限状态机"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "有限状态机（ Finite State Machine ，FSM）是对象行为建模的工具，以描述对象在其生命周期内所经历的状态序列，以及如何响应来自外界的各种事件", "lines": ["有限状态机（ Finite State Machine ，FSM）是对象行为建模的工具，以描述对象在其生命周期内所经历的状态序列，以及如何响应来自外界的各种事件"], "left": 0.6139599737532808, "top": 0.8799945319335083, "w": 8.772077865266843, "h": 0.935, "size": 18.0, "bold": true, "is_title": false}], "pics": [{"file": "img-dd20e272bb.png", "left": 1.8106692913385827, "top": 1.9712510936132983, "w": 6.3786603237095365, "h": 3.4588560804899386}], "tables": [], "notes": ""}, {"index": 92, "title": "示例：状态图", "texts": [{"text": "示例：状态图", "lines": ["示例：状态图"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 28.0, "bold": true, "is_title": false}, {"text": "来源: nach Spillner, Linz: Basiswissen Softwaretest, 2005", "lines": ["来源: nach Spillner, Linz: Basiswissen Softwaretest, 2005"], "left": 4.499006999125109, "top": 4.907338145231846, "w": 4.125, "h": 0.2827340332458443, "size": 10.8, "bold": false, "is_title": false}, {"text": "一个堆栈的状态图(state diagram)", "lines": ["一个堆栈的状态图(state diagram)"], "left": 2.330256999125109, "top": 0.8799945319335083, "w": 6.675, "h": 0.3736980303133978, "size": 16.2, "bold": true, "is_title": false}, {"text": "empty", "lines": ["empty"], "left": 2.8083819991251096, "top": 2.7523909346884423, "w": 0.534375, "h": 0.2578125784043651, "size": 15.3, "bold": false, "is_title": false}, {"text": "filled", "lines": ["filled"], "left": 5.13025699912511, "top": 2.7302555112900877, "w": 0.4515625, "h": 0.2578125784043651, "size": 15.3, "bold": false, "is_title": false}, {"text": "full", "lines": ["full"], "left": 7.71150699912511, "top": 2.7302555112900877, "w": 0.2984375, "h": 0.2578125784043651, "size": 15.3, "bold": false, "is_title": false}, {"text": "Name", "lines": ["Name"], "left": 3.755256999125109, "top": 4.748485291728299, "w": 0.33125, "h": 0.1666667173523168, "size": 9.9, "bold": false, "is_title": false}, {"text": "Initial and final state", "lines": ["Initial and final state"], "left": 4.37713199912511, "top": 4.313589326137097, "w": 1.146875, "h": 0.1666667173523168, "size": 9.9, "bold": false, "is_title": false}, {"text": "state transition", "lines": ["state transition"], "left": 4.37713199912511, "top": 4.525828974015439, "w": 0.8156249999999999, "h": 0.1666667173523168, "size": 9.9, "bold": false, "is_title": false}, {"text": "state", "lines": ["state"], "left": 4.37713199912511, "top": 4.739370705623095, "w": 0.2546875, "h": 0.1666667173523168, "size": 9.9, "bold": false, "is_title": false}, {"text": "init", "lines": ["init"], "left": 3.119319499125109, "top": 2.1547345029328686, "w": 0.234375, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "delete", "lines": ["delete"], "left": 3.119319499125109, "top": 3.39301612951141, "w": 0.421875, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "push", "lines": ["push"], "left": 4.01775699912511, "top": 2.508901277306542, "w": 0.33125, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "pop", "lines": ["pop"], "left": 3.6646319991251097, "top": 3.038849355137737, "w": 0.26249999999999996, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "[height= 1]", "lines": ["[height= 1]"], "left": 3.964631999125109, "top": 3.038849355137737, "w": 0.834375, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "pop", "lines": ["pop"], "left": 6.45681949912511, "top": 3.038849355137737, "w": 0.26249999999999996, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "push", "lines": ["push"], "left": 6.434944499125109, "top": 2.331817890119705, "w": 0.375, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "[height = max-1]", "lines": ["[height = max-1]"], "left": 5.99431949912511, "top": 2.508901277306542, "w": 1.1968750000000001, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "pop", "lines": ["pop"], "left": 4.916194499125109, "top": 1.527130145403051, "w": 0.26249999999999996, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "[height> 1]", "lines": ["[height> 1]"], "left": 5.216194499125109, "top": 1.527130145403051, "w": 0.834375, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "push", "lines": ["push"], "left": 4.663069499125109, "top": 1.7484843793865967, "w": 0.33125, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "[height < max-1]", "lines": ["[height < max-1]"], "left": 5.03963199912511, "top": 1.7484843793865967, "w": 1.240625, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "top", "lines": ["top"], "left": 5.41463199912511, "top": 1.3057759114195053, "w": 0.22499999999999998, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "top", "lines": ["top"], "left": 7.73025699912511, "top": 1.7484843793865967, "w": 0.22499999999999998, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "说明", "lines": ["说明"], "left": 2.5818194991251096, "top": 4.318797661054358, "w": 0.2765625, "h": 0.1666667173523168, "size": 9.9, "bold": false, "is_title": false}, {"text": "push", "lines": ["push"], "left": 7.647444499125109, "top": 1.4919738847115465, "w": 0.33125, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}, {"text": "*", "lines": ["*"], "left": 8.02556949912511, "top": 1.4919738847115465, "w": 0.0875, "h": 0.21223964787834096, "size": 12.6, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 93, "title": "状态图转化为树结构、生成测试用例", "texts": [{"text": "状态图转化为树结构、生成测试用例", "lines": ["状态图转化为树结构、生成测试用例"], "left": 0.561923665791776, "top": 0.31751312335958004, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 28.0, "bold": true, "is_title": false}, {"text": "init", "lines": ["init"], "left": 4.6390188265202505, "top": 1.4221351353566087, "w": 0.20160329709486952, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "push", "lines": ["push"], "left": 4.642232070908894, "top": 2.262526683403771, "w": 0.28575032572630404, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "initial", "lines": ["initial"], "left": 4.250468134695975, "top": 1.0933842836843557, "w": 0.4557973398613018, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "empty", "lines": ["empty"], "left": 4.299033911912453, "top": 1.8053543489481347, "w": 0.5714996316987558, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "empty", "lines": ["empty"], "left": 2.272222142744793, "top": 3.635505616907564, "w": 0.5276726506339838, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "deleted", "lines": ["deleted"], "left": 5.505083536244716, "top": 2.262526683403771, "w": 0.5977960242883895, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "filled", "lines": ["filled"], "left": 3.4798911361945324, "top": 3.635505616907564, "w": 0.4610562104776876, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "filled", "lines": ["filled"], "left": 6.099205387403217, "top": 3.635505616907564, "w": 0.4172302491667679, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "filled", "lines": ["filled"], "left": 7.352202439588336, "top": 3.635505616907564, "w": 0.4172302491667679, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "full", "lines": ["full"], "left": 3.4280876404969565, "top": 4.651771762720736, "w": 0.24542823865193694, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "full", "lines": ["full"], "left": 4.7377442562243735, "top": 4.651771762720736, "w": 0.24542823865193694, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "filled", "lines": ["filled"], "left": 5.9276063079049965, "top": 4.651771762720736, "w": 0.37340326810199587, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "full", "lines": ["full"], "left": 4.9077249863589705, "top": 3.635505616907564, "w": 0.24542823865193694, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "delete", "lines": ["delete"], "left": 5.207213435983655, "top": 1.85339994000882, "w": 0.35937859337111466, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "push", "lines": ["push"], "left": 4.185713765074005, "top": 3.226378873512612, "w": 0.28575032572630404, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "push", "lines": ["push"], "left": 4.983810860787858, "top": 3.226378873512612, "w": 0.28575032572630404, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "pop", "lines": ["pop"], "left": 5.781908976255564, "top": 3.226378873512612, "w": 0.22614571305852227, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "top", "lines": ["top"], "left": 6.520107770192169, "top": 3.175419510780111, "w": 0.19283647322652187, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "top", "lines": ["top"], "left": 4.413972408114523, "top": 4.293603464912655, "w": 0.19283647322652187, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "push", "lines": ["push"], "left": 5.126270473956192, "top": 4.1916856565932825, "w": 0.28575032572630404, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "*", "lines": ["*"], "left": 5.484038875994503, "top": 4.1916856565932825, "w": 0.07538326402464385, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "pop", "lines": ["pop"], "left": 5.895230142847864, "top": 4.1916856565932825, "w": 0.22614571305852227, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "pop", "lines": ["pop"], "left": 3.3908537372189818, "top": 1.7995295570413958, "w": 0.22664034566725874, "h": 0.18199594042810033, "size": 10.8, "bold": false, "is_title": false}, {"text": "ERROR", "lines": ["ERROR"], "left": 1.8642691231888031, "top": 2.0091888804145674, "w": 0.720392527299501, "h": 0.2125712584200212, "size": 12.6, "bold": false, "is_title": false}, {"text": "pop", "lines": ["pop"], "left": 3.444276232902449, "top": 3.175419510780111, "w": 0.22614571305852227, "h": 0.18175716984754378, "size": 10.8, "bold": false, "is_title": false}, {"text": "ERROR", "lines": ["ERROR"], "left": 2.2074677510465532, "top": 2.6192399296672066, "w": 0.7203921731224905, "h": 0.21257142878040572, "size": 12.6, "bold": false, "is_title": false}, {"text": "top", "lines": ["top"], "left": 3.7291950380918144, "top": 2.312030536018812, "w": 0.192644199104666, "h": 0.18199608628459393, "size": 10.8, "bold": false, "is_title": false}, {"text": "ERROR", "lines": ["ERROR"], "left": 7.276115904619445, "top": 3.0254549993874504, "w": 0.7203924770445332, "h": 0.21257127415770105, "size": 12.6, "bold": false, "is_title": false}, {"text": "delete", "lines": ["delete"], "left": 6.23518924677757, "top": 2.757556955243498, "w": 0.3593868087727784, "h": 0.18199595390214132, "size": 10.8, "bold": false, "is_title": false}, {"text": "filled", "lines": ["filled"], "left": 4.2180909498849894, "top": 2.668742406563801, "w": 0.4610562104776876, "h": 0.2120504900616169, "size": 12.6, "bold": false, "is_title": false}, {"text": "ERROR", "lines": ["ERROR"], "left": 7.162795717035028, "top": 4.564413945781628, "w": 0.7203925081456598, "h": 0.21257151913348413, "size": 12.6, "bold": false, "is_title": false}, {"text": "delete", "lines": ["delete"], "left": 6.805027752315498, "top": 4.156742539224261, "w": 0.3593868242883966, "h": 0.1819961636416816, "size": 10.8, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 94, "title": "状态图工具：Spec Explorer", "texts": [{"text": "状态图工具：Spec Explorer", "lines": ["状态图工具：Spec Explorer"], "left": 0.511321084864392, "top": 0.339336176727909, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}], "pics": [{"file": "img-9d59be1e03.png", "left": 0.21844925634295714, "top": 0.9122528433945757, "w": 8.338590332458443, "h": 4.156407480314961}, {"file": "img-d94ad106b5.png", "left": 5.162335958005249, "top": 1.0008595800524935, "w": 4.697878390201224, "h": 3.923070866141732}], "tables": [], "notes": ""}, {"index": 95, "title": "示例：ATS4_AppModel", "texts": [{"text": "示例：ATS4_AppModel", "lines": ["示例：ATS4_AppModel"], "left": 0.6365244969378827, "top": 0.30707786526684167, "w": 8.045718503937008, "h": 0.5729166666666666, "size": 18.0, "bold": false, "is_title": false}, {"text": "http://ats4appmodel.sourceforge.net/", "lines": ["http://ats4appmodel.sourceforge.net/"], "left": 1.2392847769028872, "top": 5.047403762029746, "w": 5.075269028871391, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}], "pics": [{"file": "img-8ab9bda424.png", "left": 1.2392847769028872, "top": 0.8799945319335083, "w": 7.442959317585302, "h": 4.107551399825022}], "tables": [], "notes": ""}, {"index": 96, "title": "补充：基于场景的测试方法", "texts": [{"text": "补充：基于场景的测试方法", "lines": ["补充：基于场景的测试方法"], "left": 0.5247561242344707, "top": 0.21454068241469818, "w": 5.963597987751531, "h": 0.6276038932633421, "size": 18.0, "bold": false, "is_title": false}, {"text": "测试用例 = 用户故事（行为） + 场景 + 测试数据", "lines": ["测试用例 = 用户故事（行为） + 场景 + 测试数据"], "left": 1.2436778215223097, "top": 1.3359656605424322, "w": 6.8706135170603675, "h": 0.4644925634295713, "size": 21.6, "bold": false, "is_title": false}, {"text": "场景：条件、前提、运行环境等", "lines": ["场景：条件、前提、运行环境等"], "left": 2.944654418197725, "top": 1.8084514435695538, "w": 3.392531714785652, "h": 0.3736132983377078, "size": 16.2, "bold": false, "is_title": false}, {"text": "场景", "lines": ["场景"], "left": 1.3145516185476815, "top": 2.694378827646544, "w": 1.4883541119860018, "h": 2.244343832020997, "size": 25.2, "bold": false, "is_title": false}, {"text": "数据", "lines": ["数据"], "left": 7.197094269466317, "top": 2.694378827646544, "w": 1.5592279090113736, "h": 2.244343832020997, "size": 25.2, "bold": false, "is_title": false}], "pics": [{"file": "img-978b55c3bd.png", "left": 3.7242825896762906, "top": 2.9896872265966756, "w": 2.756211723534558, "h": 1.6537270341207349}], "tables": [], "notes": ""}, {"index": 97, "title": "示例：基于场景的测试", "texts": [{"text": "示例：基于场景的测试", "lines": ["示例：基于场景的测试"], "left": 0.6597604986876641, "top": 0.012727471566054244, "w": 6.166038932633421, "h": 0.9449857830271217, "size": 18.0, "bold": false, "is_title": false}, {"text": "入门级用户\n熟练用户", "lines": ["入门级用户", "熟练用户"], "left": 0.9185498687664042, "top": 1.8202635608048994, "w": 2.1545341207349082, "h": 3.260204505686789, "size": 18.0, "bold": false, "is_title": false}, {"text": "首次安装使用\n特定时间打开App（12:00/ 20:00）\n预定成功后\n取消订单后\n退出App后", "lines": ["首次安装使用", "特定时间打开App（12:00/ 20:00）", "预定成功后", "取消订单后", "退出App后"], "left": 3.6406791338582676, "top": 1.820262467191601, "w": 2.350979877515311, "h": 3.2602055993000874, "size": 18.0, "bold": false, "is_title": false}, {"text": "随便看看\n查找符合自己要求的酒店\n预定酒店\n入住酒店\n离开酒店", "lines": ["随便看看", "查找符合自己要求的酒店", "预定酒店", "入住酒店", "离开酒店"], "left": 6.559229002624672, "top": 1.8202635608048994, "w": 2.5556485126859143, "h": 3.260204505686789, "size": 18.0, "bold": false, "is_title": false}, {"text": "用户\t               \t 上下文(场景)\t\t           目标", "lines": ["用户\t               \t 上下文(场景)\t\t           目标"], "left": 1.1238385826771653, "top": 1.253018372703412, "w": 7.535954724409449, "h": 0.525077646544182, "size": 25.2, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 98, "title": "练习：列出测试场景和数据", "texts": [{"text": "98", "lines": ["98"], "left": 0.5, "top": 5.346009405074366, "w": 1.21503937007874, "h": 0.27899168853893264, "size": 18.0, "bold": false, "is_title": false}, {"text": "练习：列出测试场景和数据", "lines": ["练习：列出测试场景和数据"], "left": 0.6766480752405949, "top": 0.278584864391951, "w": 6.095165135608049, "h": 0.5791415135608049, "size": 18.0, "bold": false, "is_title": false}, {"text": "场景", "lines": ["场景"], "left": 1.4099168853893262, "top": 2.1628226159230097, "w": 1.0631102362204725, "h": 2.244343832020997, "size": 18.0, "bold": false, "is_title": false}, {"text": "数据", "lines": ["数据"], "left": 7.197093175853018, "top": 2.1628226159230097, "w": 0.9922364391951006, "h": 2.244343832020997, "size": 18.0, "bold": false, "is_title": false}, {"text": "针对某典型用例列出测试场景和测试数据", "lines": ["针对某典型用例列出测试场景和测试数据"], "left": 3.4407720909886264, "top": 1.3950196850393701, "w": 2.905834426946632, "h": 3.6618241469816275, "size": 21.6, "bold": false, "is_title": false}], "pics": [{"file": "img-b89ed694a5.png", "left": 3.4407720909886264, "top": 1.3950196850393701, "w": 2.905834426946632, "h": 3.632293307086614}], "tables": [], "notes": "针对刚才完成的用户故事，拿出3个不同类型的US进行切分"}, {"index": 99, "title": "事件流图", "texts": [{"text": "事件流图", "lines": ["事件流图"], "left": 0.6884831583552056, "top": 0.2901804461942257, "w": 1.901800087489064, "h": 0.4609383202099738, "size": 18.0, "bold": false, "is_title": false}, {"text": "99", "lines": ["99"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "作为承兑人，根据委托收款请求，签发承兑", "lines": ["作为承兑人，根据委托收款请求，签发承兑"], "left": 2.3776738845144356, "top": 1.1587729658792651, "w": 4.998339895013124, "h": 0.4039063867016623, "size": 18.0, "bold": false, "is_title": false}, {"text": "无条件支付？不得转让？已转让了吗？收款人清楚吗？收款人是否破产？金额超过上限？", "lines": ["无条件支付？不得转让？已转让了吗？收款人清楚吗？收款人是否破产？金额超过上限？"], "left": 2.094165573053368, "top": 1.86751312335958, "w": 5.24467738407699, "h": 0.706836176727909, "size": 18.0, "bold": false, "is_title": false}, {"text": "有条件支付", "lines": ["有条件支付"], "left": 3.653393482064742, "top": 3.285002187226597, "w": 0.8504877515310586, "h": 0.9188867016622922, "size": 16.2, "bold": false, "is_title": false}, {"text": "已转让", "lines": ["已转让"], "left": 5.283496281714785, "top": 3.107808398950131, "w": 0.8504877515310586, "h": 0.64625, "size": 16.2, "bold": false, "is_title": false}, {"text": "不得\n转让", "lines": ["不得", "转让"], "left": 6.346606517935258, "top": 3.8165573053368327, "w": 0.8504877515310586, "h": 0.64625, "size": 16.2, "bold": false, "is_title": false}, {"text": "超过上限", "lines": ["超过上限"], "left": 3.2990234033245844, "top": 2.6943766404199474, "w": 1.204857830271216, "h": 0.3736132983377078, "size": 16.2, "bold": false, "is_title": false}, {"text": "收款人破产", "lines": ["收款人破产"], "left": 4.787377515310586, "top": 4.643412073490814, "w": 1.4174803149606299, "h": 0.3433202099737533, "size": 14.4, "bold": false, "is_title": false}, {"text": "不符合条件", "lines": ["不符合条件"], "left": 2.1650393700787403, "top": 4.2890496500437445, "w": 0.8504877515310586, "h": 0.9188867016622922, "size": 16.2, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": "票据的自助式受理，完成票据的存入、存储、记账\n功能上要考虑身份认证、防伪识别"}, {"index": 100, "title": "基于场景的测试方法 – 示例", "texts": [{"text": "基于场景的测试方法 – 示例", "lines": ["基于场景的测试方法 – 示例"], "left": 0.6264052930883639, "top": 0.2492344706911636, "w": 6.213330052493438, "h": 0.4609383202099738, "size": 18.0, "bold": false, "is_title": false}, {"text": "正常场景 从账户中成功取款 \n可选场景：无法取款,因为:\n用户的银行卡号被拒绝,因为银行卡无法被 ATM 机识别\n用户三次以上都没能正确地输入密码。\n用户三次或三次以上都没能正确地输入密码,ATM 机发生吞卡\n用户选择了存款或转账功能,而不是取款功能\n用户在插入的卡上选择了一个非正确的账户\n用户的取款数额不正确\nATM机的现金不足\n用户输入了一个不存在的数额\n用户输入的数额超出了每日的取款限额\n用户银行卡账户的余额不足", "lines": ["正常场景 从账户中成功取款", "可选场景：无法取款,因为:", "用户的银行卡号被拒绝,因为银行卡无法被 ATM 机识别", "用户三次以上都没能正确地输入密码。", "用户三次或三次以上都没能正确地输入密码,ATM 机发生吞卡", "用户选择了存款或转账功能,而不是取款功能", "用户在插入的卡上选择了一个非正确的账户", "用户的取款数额不正确", "ATM机的现金不足", "用户输入了一个不存在的数额", "用户输入的数额超出了每日的取款限额", "用户银行卡账户的余额不足"], "left": 1.1019291338582677, "top": 1.0406496062992125, "w": 6.547555774278215, "h": 4.535937226596675, "size": 25.0, "bold": true, "is_title": false}, {"text": "100", "lines": ["100"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 101, "title": "基于场景的测试方法 – 示例（续）", "texts": [{"text": "101", "lines": ["101"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "基于场景的测试方法 – 示例（续）", "lines": ["基于场景的测试方法 – 示例（续）"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 24.0, "bold": false, "is_title": false}], "pics": [{"file": "img-048ff66d40.png", "left": 0.7938134295713036, "top": 0.8786996937882765, "w": 7.567011154855643, "h": 4.224378827646544}], "tables": [], "notes": ""}, {"index": 102, "title": "基于场景的测试方法 – 示例（续）", "texts": [{"text": "基于场景的测试方法 – 示例（续）", "lines": ["基于场景的测试方法 – 示例（续）"], "left": 0.6985695538057742, "top": 0.2904735345581802, "w": 6.213330052493438, "h": 0.4609383202099738, "size": 31.0, "bold": false, "is_title": false}, {"text": "102", "lines": ["102"], "left": 0.0, "top": 5.368490813648294, "w": 10.0, "h": 0.22005139982502187, "size": 18.0, "bold": false, "is_title": false}, {"text": "成功地从账户中提取现金 (覆盖 U1,S1.1,U2,S2.1,U3.1,U4, S4.1,U5,S5.1,S6,S7,S8,S9,U6)\n用户银行卡无法被ATM机识别 (覆盖U1,S1.2,S9)\n用户输入密码不正确<3 次 (覆盖 U1,S1.1,U2,S2.2)\n3 次输入用户密码不正确 (覆盖 U1,S1.1,U2,S2.2,U2,S2.3,S3)\nATM 机中现金不足 (覆盖 U1, S1.1, U2, S2.1, U3.1, U4,S4.1,U5, S5.3)\n用户账户余额不足(覆盖 U1, S1.1, U2,S2.1, U3.1, U4, S4.1,U5, S5.6)\n用户输入的取款金额不正确 (覆盖 U1, S1.1,U2, S2.1, U3.1, U4, S4.1, U5, S5.2)\n用户输入的密码不正确 > 3 次 (覆盖 U1,S1.1,U2, S2.2, U2, S2.2,U2,S2.3,S3) \n用户输入一个不存在的数额 (覆盖 U1, S1.1, U2,S2.1, U3.1, U4,S4.1, U5,S5.4) \n用户输入的金额超出了日取款限制(覆盖 U1, S1.1, U2,S2.1,U3.1,U4, S4.1, U5, S5.5) \n…… 用户选择存款或转账 (覆盖 U1, S1.1,U2, S2.1, U3.2, S10)", "lines": ["成功地从账户中提取现金 (覆盖 U1,S1.1,U2,S2.1,U3.1,U4, S4.1,U5,S5.1,S6,S7,S8,S9,U6)", "用户银行卡无法被ATM机识别 (覆盖U1,S1.2,S9)", "用户输入密码不正确<3 次 (覆盖 U1,S1.1,U2,S2.2)", "3 次输入用户密码不正确 (覆盖 U1,S1.1,U2,S2.2,U2,S2.3,S3)", "ATM 机中现金不足 (覆盖 U1, S1.1, U2, S2.1, U3.1, U4,S4.1,U5, S5.3)", "用户账户余额不足(覆盖 U1, S1.1, U2,S2.1, U3.1, U4, S4.1,U5, S5.6)", "用户输入的取款金额不正确 (覆盖 U1, S1.1,U2, S2.1, U3.1, U4, S4.1, U5, S5.2)", "用户输入的密码不正确 > 3 次 (覆盖 U1,S1.1,U2, S2.2, U2, S2.2,U2,S2.3,S3)", "用户输入一个不存在的数额 (覆盖 U1, S1.1, U2,S2.1, U3.1, U4,S4.1, U5,S5.4)", "用户输入的金额超出了日取款限制(覆盖 U1, S1.1, U2,S2.1,U3.1,U4, S4.1, U5, S5.5)", "…… 用户选择存款或转账 (覆盖 U1, S1.1,U2, S2.1, U3.2, S10)"], "left": 0.4923359580052493, "top": 0.9285739282589677, "w": 9.015328083989502, "h": 4.262753718285214, "size": 16.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 103, "title": "语句覆盖", "texts": [{"text": "语句覆盖", "lines": ["语句覆盖"], "left": 4.742268153980753, "top": 0.5200459317585302, "w": 1.0995220909886265, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}, {"text": "判定覆盖", "lines": ["判定覆盖"], "left": 4.73869750656168, "top": 2.564031058617673, "w": 1.0995220909886265, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}, {"text": "请参考《软件测试实验教程》（清华大学出版社，2019）", "lines": ["请参考《软件测试实验教程》（清华大学出版社，2019）"], "left": 3.09623031496063, "top": 4.744759405074365, "w": 5.483977471566054, "h": 0.3365890201224847, "size": 14.0, "bold": false, "is_title": false}], "pics": [{"file": "img-4b62ca5deb.wmf", "left": 0.420084208223972, "top": 0.7238188976377953, "w": 4.170138888888889, "h": 4.404166666666667}], "tables": [{"rows": [["测试用例名称", "测试用例描述", "测试路径"], ["CASE1", "投保成功：年龄20，男性，健康体、有医疗保险", "ABC"], ["CASE2", "投保成功：年龄20，男性，非健康体且没有基本医疗", "ABE"]], "left": 4.742268153980753, "top": 0.9084284776902887}, {"rows": [["CASE3", "投保成功：年龄20，男性，健康体，有医疗保险", "判定A=“真”\n判定B=“真”"], ["CASE4", "投保不成功：年龄15，男性", "判定A=“假”"], ["CASE5", "投保成功：年龄20，男性，健康体，没有医疗保险", "判定A=“真”\n判定B=“假”"]], "left": 4.742268153980753, "top": 2.9445877077865266}], "notes": ""}, {"index": 104, "title": "完成条件覆盖设计", "texts": [{"text": "完成条件覆盖设计", "lines": ["完成条件覆盖设计"], "left": 1.6308956692913386, "top": 0.30298556430446194, "w": 3.003351924759405, "h": 0.5048829833770778, "size": 24.0, "bold": true, "is_title": false}, {"text": "条件覆盖", "lines": ["条件覆盖"], "left": 4.742268153980753, "top": 1.8293241469816273, "w": 1.0995220909886265, "h": 0.37024715660542434, "size": 16.0, "bold": false, "is_title": false}, {"text": "请参考《软件测试实验教程》（清华大学出版社，2019）", "lines": ["请参考《软件测试实验教程》（清华大学出版社，2019）"], "left": 3.09623031496063, "top": 4.744759405074365, "w": 5.483977471566054, "h": 0.3365890201224847, "size": 14.0, "bold": false, "is_title": false}], "pics": [{"file": "img-4b62ca5deb.wmf", "left": 0.420084208223972, "top": 0.7238188976377953, "w": 4.170138888888889, "h": 4.404166666666667}], "tables": [{"rows": [["测试用例名称", "测试用例描述", "测试条件"], ["CASE1", "", ""], ["CASE2", "", ""], ["CASE3", "", ""]], "left": 4.742268153980753, "top": 2.4123709536307962}], "notes": "的朋友戴比上学老是迟到，她想改变这个糟糕的情况，请你提建议。你需要从戴比那儿获得哪些信息才能给她一个好的建议？\n在老师引导下，孩子们会重点考虑：为什么戴比会经常迟到？或者说，让她迟到的因素有哪些，这些因素哪些能有改变，哪些无法改变？能改变的因素，改进方法有哪些"}, {"index": 105, "title": "本章小结", "texts": [{"text": "本章小结", "lines": ["本章小结"], "left": 0.5815244969378828, "top": 0.3462554680664917, "w": 8.925108267716535, "h": 0.5729166666666666, "size": 24.0, "bold": false, "is_title": false}, {"text": "方法论：黑盒方法（基于需求的测试方法）、结构化方法（逻辑覆盖和基本路径覆盖）、基于场景的方法\n数据流覆盖：数据流程图、代码中变量的定义与引用\n控制流覆盖：业务流程基本路径覆盖，代码中的逻辑覆盖\n最常用的方法：等价类划分、边界值分析、决策表、Pairwise等\n不同层次的覆盖：代码、功能/非功能、业务 \n最常用的覆盖标准：语句覆盖、分支覆盖和MC/DC覆盖", "lines": ["方法论：黑盒方法（基于需求的测试方法）、结构化方法（逻辑覆盖和基本路径覆盖）、基于场景的方法", "数据流覆盖：数据流程图、代码中变量的定义与引用", "控制流覆盖：业务流程基本路径覆盖，代码中的逻辑覆盖", "最常用的方法：等价类划分、边界值分析、决策表、Pairwise等", "不同层次的覆盖：代码、功能/非功能、业务", "最常用的覆盖标准：语句覆盖、分支覆盖和MC/DC覆盖"], "left": 1.0776826334208225, "top": 1.1710083114610674, "w": 8.183186789151357, "h": 3.6308081802274716, "size": 20.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 106, "title": "思考题", "texts": [{"text": "思考题", "lines": ["思考题"], "left": 0.5815244969378828, "top": 0.3462554680664917, "w": 3.6227766841644793, "h": 0.5729166666666666, "size": 24.0, "bold": false, "is_title": false}, {"text": "为何在航空航天应用软件中会使用MC/DC代码覆盖标准？\n为什么敏捷测试中适合使用基于场景的测试设计方法？", "lines": ["为何在航空航天应用软件中会使用MC/DC代码覆盖标准？", "为什么敏捷测试中适合使用基于场景的测试设计方法？"], "left": 0.8938013998250218, "top": 1.7229352580927384, "w": 7.978494094488189, "h": 1.0895647419072616, "size": 20.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": "重点学习内容，可以通过留实操作业或提问的方式，巩固学习成果"}, {"index": 107, "title": "作业一", "texts": [{"text": "作业一", "lines": ["作业一"], "left": 0.6155599300087489, "top": 0.18746609798775152, "w": 6.200349956255468, "h": 0.5977165354330709, "size": 18.0, "bold": false, "is_title": false}, {"text": "DC/CC", "lines": ["DC/CC"], "left": 7.576015966754156, "top": 1.5129680664916885, "w": 1.0631102362204725, "h": 0.44296259842519686, "size": 18.0, "bold": false, "is_title": false}, {"text": "BPC", "lines": ["BPC"], "left": 7.576015966754156, "top": 3.1666951006124235, "w": 1.0631102362204725, "h": 0.44296259842519686, "size": 18.0, "bold": false, "is_title": false}, {"text": "MC/DC", "lines": ["MC/DC"], "left": 7.576015966754156, "top": 2.339831583552056, "w": 1.0631102362204725, "h": 0.44296259842519686, "size": 18.0, "bold": false, "is_title": false}, {"text": "1. Testwell CTC++\n2. CoverageMeter\n3. BullseyeCoverage\n4. GCT\n5. CppUnit\n6. Dynamic Code Coverage\n7. TCAT C/C++\n8. COVTOOL\n9. gocv\n10. xCover", "lines": ["1. Testwell CTC++", "2. CoverageMeter", "3. BullseyeCoverage", "4. GCT", "5. CppUnit", "6. Dynamic Code Coverage", "7. TCAT C/C++", "8. COVTOOL", "9. gocv", "10. xCover"], "left": 3.9732534995625546, "top": 1.0404746281714785, "w": 2.7758989501312334, "h": 3.3562084426946632, "size": 15.0, "bold": false, "is_title": false}, {"text": "+", "lines": ["+"], "left": 3.6188834208223972, "top": 2.6942016622922136, "w": 0.37024715660542434, "h": 0.5048829833770778, "size": 24.0, "bold": false, "is_title": false}, {"text": "找一合适的函数代码 + 选择一覆盖率工具 – 完成三种覆盖率的测试", "lines": ["找一合适的函数代码 + 选择一覆盖率工具 – 完成三种覆盖率的测试"], "left": 1.7289096675415574, "top": 4.643237095363079, "w": 6.281583552055993, "h": 0.3534175415573053, "size": 15.0, "bold": false, "is_title": false}], "pics": [{"file": "img-39e3b5c60b.png", "left": 1.3745406824146982, "top": 1.3357830271216098, "w": 2.1666327646544183, "h": 3.02376312335958}], "tables": [], "notes": ""}, {"index": 108, "title": "作业二", "texts": [{"text": "作业二", "lines": ["作业二"], "left": 0.5048611111111111, "top": 0.2826388888888889, "w": 8.7375, "h": 0.7270833333333333, "size": 18.0, "bold": false, "is_title": false}, {"text": "针对下列因素，使用工具ACTS完成不同强度的组合测试，如果存在约束条件，需要添加后进行计算：\n驾驶记录: 过去五年内没有违规，过去三年内没有违规, 过去三年内违规小于3次, 过去三年内违规3次或三次以上、过去一年内违规3次或三次以上。\n汽车型号：一般国产车、高档国产车（>=20万）、进口车、高档进口车（>=100万）\n使用汽车的方式：出租车、商务车、私家车\n所住的地区：城市中心地带、市区、郊区、农村\n受保的项目：全保，自由组合、最基本保险\n司机的驾龄：<=1年、<=3年、<=5年、<=10年、>10年\n保险方式：首次参保、第2次参保、连续受保（>=3次）", "lines": ["针对下列因素，使用工具ACTS完成不同强度的组合测试，如果存在约束条件，需要添加后进行计算：", "驾驶记录: 过去五年内没有违规，过去三年内没有违规, 过去三年内违规小于3次, 过去三年内违规3次或三次以上、过去一年内违规3次或三次以上。", "汽车型号：一般国产车、高档国产车（>=20万）、进口车、高档进口车（>=100万）", "使用汽车的方式：出租车、商务车、私家车", "所住的地区：城市中心地带、市区、郊区、农村", "受保的项目：全保，自由组合、最基本保险", "司机的驾龄：<=1年、<=3年、<=5年、<=10年、>10年", "保险方式：首次参保、第2次参保、连续受保（>=3次）"], "left": 0.8916590113735783, "top": 1.0097222222222222, "w": 7.768412073490814, "h": 3.820770997375328, "size": 16.0, "bold": true, "is_title": false}], "pics": [], "tables": [], "notes": ""}, {"index": 109, "title": "感 谢 聆 听", "texts": [{"text": "感 谢 聆 听", "lines": ["感 谢 聆 听"], "left": 0.7815857392825897, "top": 0.6608727034120735, "w": 4.000671478565179, "h": 1.0872397200349957, "size": 18.0, "bold": true, "is_title": false}, {"text": "广东金融学院 / 周宇文", "lines": ["广东金融学院 / 周宇文"], "left": 1.3505610236220473, "top": 1.748112423447069, "w": 2.862719816272966, "h": 0.3572211286089239, "size": 16.0, "bold": false, "is_title": false}], "pics": [], "tables": [], "notes": "每课结束时使用“以上是本节课的内容”“这一章讲到这里”"}]}