您必须根据需求工作项目中所讨论的规格与任何架构、分析与设计,撰写适用的测试指令码。
The test scripts must be written against the specification and any architecture, analysis, and design that is discussed in the requirement work item.
除了这三个动作以外,也有两个测试指令码(称为通用指令码)会在执行资料库单元测试的前后来执行。
In addition to these three actions, there are also two test scripts (referred to as common scripts), which run before and after a database unit test runs.
此测试指令码会在执行内容权限等级执行,也就是在资料库上执行的使用者命令在一般使用情况下有效的相同权限等级。
The test script runs at the execution context permission level, which is the same permission level that would be in effect for user commands that are run on the database when it is in typical use.
根据预设,单元测试和指令码中的参考不会自动更新。
By default, references in unit tests and scripts are not updated automatically.
否则您会想要事先备份资料或撰写指令码来重新产生测试资料的随时想修改模型并重新建立资料库结构描述。
Otherwise you'll want to either back up your data in advance or write a script to regenerate your test data any time you want to modify the model and recreate the database schema.
您只需要执行一次指令码,本机负载测试结果存放区就会成为所有负载测试的全域设定。
You only have to run the scripts one time for your local load test Results Store to be the global setting for all load tests.
下表将提供与任何资料库单元测试有关的完整指令码清单。
The following table provides a complete list of scripts that are associated with any database unit test.
但是,如果您的测试回合包含了不同测试类别的单元测试,则会在执行单元测试的前后,执行关联测试类别的通用指令码。
However, if your test run contains unit tests from different test classes, the common scripts for the associated test class will be run before and after the unit test runs.
但是,如果您的测试回合包含了不同测试类别的单元测试,则会在执行单元测试的前后,执行关联测试类别的通用指令码。
However, if your test run contains unit tests from different test classes, the common scripts for the associated test class will be run before and after the unit test runs.
应用推荐