- 0
- 0
- 约1.3万字
- 约 41页
- 2019-11-28 发布于广东
- 举报
These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman. * Data Flow Testing The data flow testing method [Fra93] selects test paths of a program according to the locations of definitions and uses of variables in the program. Assume that each statement in a program is assigned a unique statement number and that each function does not modify its parameters or global variables. For a statement with S as its statement number DEF(S) = {X | statement S contains a definition of X} USE(S) = {X | statement S contains a use of X} A definition-use (DU) chain of variable X is of the form [X, S, S], where S and S are statement numbers, X is in DEF(S) and USE(S), and the definition of X in statement S is live at statement S These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman. * Loop Testing Nested Loops Concatenated Loops Unstructured Loops Simple loop These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman. * Loop Testing: Simple Loops Minimum conditions—Simple Loops 1. skip the loop entirely 2. only one pass through the loop 3. two passes through the loop 4. m passes through the loop m n 5. (n-1), n, and (n+1) passes through the loop where n is the maximum number of allowable passes These slides are designed to accompany Software Engineering: A Practitioner’s Approach, 7/e (McGraw-Hill 2009). Slides copyright 2009 by Roger Pressman. * Loop Testing: Nested Loops Start at the innermost loop. Set all outer loops to their minimum iteration parameter values. Test the min+1, typical, max-1 and max for the innermost loop, while holding the outer loops at their minimum values. Move out one loop and set it up as in step 2, holding all other
您可能关注的文档
- 计算机网络科学应用教学课程分析.ppt
- 《电子电路教学资料》前三章课前小测验合集.ppt
- 计算机网络科学应用教学.ppt
- 《电子商务概论》电子商务安全.ppt
- 《计算机组成原理教学资料》计算机组成级考试内容.ppt
- 《电子商务总复习》电子商务总复习.ppt
- 《计算机组成原理教学资料》考试复习.ppt
- 《儿科学教学讲义》传染性单核细胞增多症上.ppt
- 《绩效和薪酬管理教学》导论.ppt
- 《非常精灵控》筹备方案.ppt
- 统编版2025年春季新版七年级下册历史 第21课 明清时期的科技与文化 教案.docx
- 雅安雨城法院书记员招聘考试真题库2025.docx
- 2026届安徽合肥市高考一模高考语文试卷试题(含答案详解).pdf
- 【专题研究】国内外城市更新研究的最新进展.pdf
- 【专题研究】老旧城区改造居民满意度影响因素研究——以遂宁市老旧城区改造为例.pdf
- 【专题研究】关于旧城空间改造理论与创意设计案例的几点思考.pdf
- 西藏拉萨市高三下学期期末物理备考重点详解.docx
- 泾县法院书记员招聘笔试真题2025.pdf
- 2026年春【苏教版】-六年级数学下册-面积的变化.pptx
- 2026年春【苏教版】-六年级数学下册-7.pptx
原创力文档

文档评论(0)