摘要
单元测试用例设计是单元测试的最重要内容之一,设计合理的单元测试用例是提升软件质量的重要保障。本文通过对测试工具cantata及其在单元测试中应用的介绍,并结合当前单元测试的实际使用情况,提出了一种复杂函数的测试用例设计方法。该办法在其他类型测试中得到了广泛的应用,取得了较好的效果。
The design of unit-testing case is one of the most important part of the unit testing, and it is an important guarantee for improving the software quality to design reasonable unit- testing cases.The article puts forward a designed method of unit-testing cases of a complex function, by introducing the cantata++ which is a testing tool and its function in unit testing, also considering that the true condition of making use of unit testing.This software unit-testing method is widely used in some other tastings and also well reputably.
出处
《电子世界》
2014年第7期119-119,共1页
Electronics World