运行单元测试确保代码正常工作。
当我完成新类的编写时,我将再次运行单元测试。
When I have completed writing the new class, then I run the unit tests again.
如何:创建和运行单元测试。
运行单元测试。
我用Ant构建项目,并用JUnit运行单元测试。
I use Ant to build the projects, and JUnit to run the unit test.
请运行单元测试。
进行几处简单的更改之后,就可以重新生成并运行单元测试。
After you have made several simple changes, you can rebuild and run your unit tests.
使用WicketTester创建、运行单元测试非常快速、简单,如下所示。
Creating and running unit tests with WicketTester is fast and simple, as shown below.
要运行单元测试,在命令行中键入groovy PropertiesTest。
To run the unit test, type groovy PropertiesTest at the command line.
我们有一些必须在每次集成之前和之后运行的单元测试。
We have unit tests that must run before and after each integration.
答案是您现在运行的是单元测试。
请确保您的单元测试已正确运行。
然而,如果一个完全的单元测试集要花一个小时运行呢?
However, what if a complete unit-test suite takes an hour to run?
单键运行方法、类、命名空间、项目和解决方案中的单元测试。
Run unit tests within any method, class, namespace, project or solution with a single-click.
单元测试的目的是测试一段代码的运行结果是否正确。
何时运行完所有单元测试?
区别在于容器和EJBs就运行在你单元测试的VM中。
The difference is that the container and EJBs are running right there in your VM.
每次运行该单元测试时,就会首先运行该数据生成计划,从而为测试创建数据。
Each time that you run the unit test, the data generation plan is run first to create the data for the test.
此行为不面如果那些特定的单元测试不运行。
This behavior does not surface if those particular unit tests are not run.
而是在测试运行中位于数据库单元测试之前或之后。
Rather, they precede or follow database unit tests in a test run.
“测试视图”窗口来运行数据库单元测试。
“测试视图”窗口来运行数据库单元测试。
应用推荐