JUnit provides a TestRunner class to execute test cases.
JUnit提供了一个TestRunner类来执行测试用例。
Note that TestRunner is not the only way to run a single test or a test suite.
注意,TestRunner并非运行单一测试或测试套件的惟一方法。
The second, the Tk TestRunner, creates a familiar dialog to show the results of the tests.
第二种是TkTestRunner,它创建一个对话框来显示测试结果。
The console will switch to the JUnit TestRunner process and the server console output will not be visible.
控制台将切换到JUnitTestRunner进程,而服务器控制台输出将是不可见的。
TestCaller is templatized with this class and, as in the case of TestRunner, you make a call to the run method for test execution.
用这个类对TestCaller 进行模板化,与使用TestRunner 时一样,通过调用run方法执行测试。
Using the smart mode, the JUnitEE TestRunner automatically locates all test classes that end with "Test" or "Tests" and executes them.
使用智能的模式, JUnitEETestRunner 可以自动对以 "Test"或者 "Tests" 的测试类进行定位。
A successful run displays all of the tests in JUnitEE TestRunner view, as depicted by Figure 2 the screen shows different ways to execute your unit test.
一次成功的运行将在JUnitEETestRunner窗口中显示所有的测试,如图2所描述的。这个屏幕显示了执行您的单元测试的不同方法。
A successful run displays all of the tests in JUnitEE TestRunner view, as depicted by Figure 2 the screen shows different ways to execute your unit test.
一次成功的运行将在JUnitEETestRunner窗口中显示所有的测试,如图2所描述的。这个屏幕显示了执行您的单元测试的不同方法。
应用推荐