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 (RunTimeTypeInformation,执行时期型态信息)自动地寻找并且呼叫它们,这些测试方法必须符合两个条件。
You can create a custom test condition to test for any condition that you cannot verify by using the default test conditions.
对于无法用默认测试条件验证的任何条件,都可以创建自定义测试条件来进行测试。
You can create a custom test condition to test a behavior that the default test conditions cannot verify.
您可以建立一个自订的测试条件,来测试预设的测试条件无法验证的行为。
If you want to test for other conditions, such as verifying the values in a result set, you must create a custom condition.
如果您想要测试其他条件,例如验证结果集中的值,则必须建立自订条件。
If you want to test for other conditions, such as verifying the values in a result set, you must create a custom condition.
如果您想要测试其他条件,例如验证结果集中的值,则必须建立自订条件。
应用推荐