我有两个爱好:一是旅行,二是发呆。。

CSTE学习日志-Executing the Test Plan(1)

上一篇 / 下一篇  2007-06-24 17:19:50 / 个人分类:CSTE学习

Part1 Test Case Design

There are including the following types of test cases:

1) Functional Test Cases

Ø        Design Specific Tests for Testing Code: The test cases are used to test the specified behavīor for each software feature, including input and output. And the sources of testing are SRS and high level design documents. (I don’t know how to design these test cases…maybe we just need to care about these documents by review or inspection?)

Ø        Function Testing independent of the specification technique: The test cases are designed to test the detailed design documents

Ø        Functional Testing based on the interface: Not the User Interface.(应该是接口的测试). Three types of function testing are: Input Testing, Equivalence Partitioning and Syntax Checking. (all we very familiar with)

Ø        Functional Testing based on the function to be computed: Two types of function testing are: Special-Value Testing and Output Result Coverage.

Ø        Functional Testing dependent on the specification technique: some specification techniques employed can aid in testing: Algebraic(代数学), Axiomatic(公理), State Machines(状态机), Decision Tables(决策表)

这一部分有一本软件测试的书籍介绍过,可以直接读中文版的,嘿嘿。

 

2) Structural Test Cases

Ø        Structural Analysis: In structural analysis, programs are analyzed without being executed.

n         Complexity Measures

n         Data Flow Analysis

n         Symbolic Execution

Ø        Structural Testing: white box testing. We need to write the test code to cover various characteristics of the code.

n         Statement Testing: Every statement in the program should be executed.

n         Branch Testing: Every branch should be executed

n         Conditional Testing: Each clause in every condition

n         Expression Testing: Required that every expression assume a variety of values during a test in such a way that no expression can be replaced by a simpler expression and still pass the test

n         Path Testing: In Path testing, data is selected to ensure all paths of the program have been executed.

 

3) Erroneous Test Cases

Ø        Statistical Methods.

Ø        Error-Based Testing

n         Fault Estimation

n         Input Testing

n         Perturbation Testing

n         Fault-Based Testing

n         Local Extent, Finite Breadth

n         Global Extent, Finite Breadth

n         Local Extent, Infinite Breadth

n        Global Extent, Infinite Breadth

 

--------------------------------------------------------

本章内容比较多,先贴一部分。本章主要是介绍测试计划执行,首先的一部分是测试用例设计。其主要内容是测试用例的分类,可能跟我们平时看到的测试用例分类不同,很多地方我也没看懂。一般来说我们通常的分类是单元测试用例,集成测试用例,UI测试用例,功能测试用例,性能测试用例。但是上面的分类还包括了文档的测试,错误的测试用例等。

 

 


TAG: CSTE学习

 

评分:0

我来说两句

日历

« 2024-03-22  
     12
3456789
10111213141516
17181920212223
24252627282930
31      

数据统计

  • 访问量: 40213
  • 日志数: 58
  • 图片数: 2
  • 文件数: 1
  • 建立时间: 2006-12-05
  • 更新时间: 2012-09-04

RSS订阅

Open Toolbar