The example tests for database support.
这个示例测试了是否有数据库支持。
In most of these unit tests, you might not even connect the database.
这些单元测试中,可能绝大部分都不需要连接数据库。
Therefore, you want to avoid interacting with a real database in your unit tests.
因此,您希望避免在单元测试中与真实数据库进行交互。
Therefore, you can initialize the database to a different state for each group of tests.
因此,可以针对每组测试将数据库初始化为不同的状态。
Rather, they precede or follow database unit tests in a test run.
而是在测试运行中位于数据库单元测试之前或之后。
Test View window to run database unit tests.
“测试视图”窗口来运行数据库单元测试。
You can define unit tests to verify the behavior of your database objects.
您可以定义单元测试,以验证资料库物件的行为。
You can define unit tests to verify the behavior of your database objects.
您可以定义单元测试,以验证资料库物件的行为。
应用推荐