运行测试时,您必须至少传递一个VM参数,指明在哪种GWT模式(托管或Web)下运行测试。
When running tests, you must pass in at least one VM argument to help specify which GWT mode (hosted or Web) to run the test in.
我已将main方法包含在twittersearchconnector类中,因此在无需运行Bonita情况下您可以在单机模式中测试此类的功能。
I've included a main method in the TwitterSearchConnector class so you can test the class's functionality in stand-alone mode without needing to run Bonita. Listing 5 shows the main method.
为了测试该代码片段,只须按play(运行)按钮(绿色三角形),它就会在调试模式下运行。
To test this snippet, just press the play button (green triangle), and it will run in debug mode.
在附加模式中,集成测试客户端监视和模拟组件,并在模块运行时进行连接,但是它不是先调用组件,而是外部源执行调用。
In attach mode, the integration test client monitors and emulates components and wires as a module runs, but it doesn't first invoke a component; instead, an external source does the invoking.
测试开始运行后,切换到在附加模式下运行的集成测试客户端。
When your test has started to run, switch to the integration test client that is running in attach mode.
反模式:通过运行手动功能测试来验证部署,没有关注特定于部署的方面。
Antipatterns: Deployments are verified by running through manual functional tests that don't focus on deployment-specific aspects.
可通过在交互模式下运行php (php- a)来测试流量。
可以在TestNG 下用“兼容模式”运行过去运行良好的Junit测试。
You can run good old JUnit tests under TestNG using a "compatibility mode."
所有的测试都是在启用事务日志记录的情况下运行的,事务日志记录使用循环的模式运行。
All tests are run with transaction logging enabled, and run using circular mode.
另外RegularExpressionEvaluator允许您在编辑时测试表达,这节省了您不得不运行脚本以查看模式是否运行的时间。
In addition, the Regular expression Evaluator allows you to test an expression while you're editing it, saving you the time of having to run the script to see if the pattern worked.
还记得在上一期的文章中介绍过 Grails能够在三种模式下运行:开发模式、测试模式和生产模式。
Recall from the last article that Grails can run in three modes: development, test, and production.
集成的测试运行器(test runner)使得在TDD模式下工作辨得简单。
Theintegrated test runner makes it easy to work in a TDD mode.
为何?提供一个与测试运行器和构建自动化匹配的模式。
Why? Provides pattern matching for test runners and build automation.
也就是要写更多的测试,开发者要花更多的时间来运行测试套件,并且更有可能达不到代码的测试覆盖度,特别是当不同模式相互作用时。
So that's more tests, more time for developers to run the test suite, and more chances of missing code coverage, especially when different modes interact.
请注意:如果你的服务器在安全的模式中运行PHP,这个插件并没有得到测试。如果你有什么问题,请将问题发表到讨论网页上。
Please Note: this hack is untested if your server runs PHP in Safe Mode. If you have any problems, please post them on the Discussion page.
例如,可以编写负载测试插件代码,以便在负载测试运行过程中设置或修改负载测试模式。
For example, you can code a load test plug-in to set or modify the load test pattern while the load test is running.
您可能希望在MTA模式(使用多线程单元)下运行您的测试,原因在于您用来编写测试的方法。
You might want to run your tests in MTA mode (using multithreaded apartments) because of the methods that you have used to write your tests.
在负载测试已完成或加载了以前运行的负载测试时,会在关系图视图中建立缩放模式。
Zooming mode is established in the Graph view when either a load test has completed or a load test that has previously run is loaded.
当你测试双人模式后又想添加目录,然后你又将代码放到不同的位置,重运行电脑控制的那段代码,如此等等。
Then a little bit later after testing the 2-player mode you might want to add the menu and again you have put the code at a different location, re-implement the computer game code, and so on.
这是用于命名每个测试运行文件夹的模式。
通过仿真测试和分析,比较了人工驾驶模式和自动驾驶模式在列车运行性能方面的差异,证明了该自动驾驶算法的正确性和优越性。
At last, it compared the simulation function of manual driving and automatic driving, and then it verified that the ATO algorithm is more efficient in improving the driving indices.
通过仿真测试和分析,比较了人工驾驶模式和自动驾驶模式在列车运行性能方面的差异,证明了该自动驾驶算法的正确性和优越性。
At last, it compared the simulation function of manual driving and automatic driving, and then it verified that the ATO algorithm is more efficient in improving the driving indices.
应用推荐