How to: Create Test Conditions for the Database Unit Test Designer.
如何:为数据库单元测试设计器创建测试条件。
From whatever is left, you need to create a minimum number of test cases that cover all the conditions.
无论剩下了什么,你需要创建最小数量的覆盖全部情形的测试用例。
To add further tests, simply create new test methods in class method USES RTTI (RunTime Type Information) to find them and call them automatically, provided the methods meet these two conditions.
若要加入更多的测试,只需简单地在ttestcasefirst里加入新的测试方法,TTestCase . Suite类别方法会透过RTTI (RunTime Type Information,执行时期型态信息)自动地寻找并且呼叫它们,这些测试方法必须符合两个条件。
应用推荐