摘要
合理地设计一个有限的测试用例集合是软件测试的关键,介绍了面向对象的软件测试用例设计的基本方法,并以堆栈类为例,详细讨论了基于前置条件和后置条件创建测试用例和基于UML状态图创建测试用例的方法,实践证明是可行的方案。
The reasonable design of test case is important to software testing.The paper firstly presents the essential principle of test case of object-oriented software testing.Subsequently,the methods of test case based on pre and post condition and based on statement transfer diagram are discussed.Finally,the design has been proved feasible in practice.
出处
《微计算机信息》
北大核心
2008年第3期257-258,280,共3页
Control & Automation
基金
国家自然科学基金面上项目(40604021)
关键词
类测试
测试用例
状态转换图
面向对象
Classes Testing
Test Case
Statement Transfer Diagram
Object-Oriented Software