• 这个模式非常简单:就行为没有实现方面那样为系统编写一个测试

    This pattern is very simple: write a test against your system as you would if the behavior were not implemented with aspects.

    youdao

  • 用作示例编写一个测试模拟用户选择0处组合中的第二元素

    As an example, I'll write a test that simulates a user selecting the second element in the combo box at row 0. The actions for the test to perform are.

    youdao

  • Account 的withdraw()方法编写一个测试

    Write a test for the withdraw() method on Account. Your test should now look like Listing 6

    youdao

  • 接下来编写一个测试不仅验证输出得到了显示,还要验证输出正确的。

    Next, you want to write a test that verifies not only that the output is present, but that it's correct. There are two ways you can do this

    youdao

  • 现在可以编写一个测试脚本并与测试应用程序一起运行,以检验测试中的组件

    A test script can now be written and run with this test application to exercise the component under test.

    youdao

  • 编写一个测试表达试图实现结果之后,您可以一直调试直到测试结果是良性的。

    After writing a test that expresses the result you're trying to achieve, you then debug until the test is positive.

    youdao

  • 首先想到可能是:重构时间了,这样打破重构规则,即将编写一个测试用例

    Your first thought could be that it's time to refactor, but doing so would break the first rule of refactoring, which is to write a test case.

    youdao

  • 所以,换话说,使用策略只需编写一个测试案例然后总是将其部署客户机服务器就可以

    So, in other words, to use my strategy, simply write one test case class, and then always deploy to both the client and the server.

    youdao

  • Wikipedia上查找几个完全之后,可以编写一个测试,它检查实际上是否可以找到完全数。

    After checking with Wikipedia to find the first few perfect Numbers, I can write a test that verifies that I can in fact find perfect Numbers.

    youdao

  • 这种编写一个测试编写足够代码来使测试通过重新进行测试”方法每天都在经历XP开发流程

    This "write a test, write just enough code to get it to pass, rerun the test" approach is the xp development flow that you should experience every day.

    youdao

  • 这样的情景也许并不陌生:您编写测试程序,程序需要暂停时间,于是调用Thread .sleep

    This story is probably familiar: you're writing a test program and you need to pause for some amount of time, so you call Thread.sleep .

    youdao

  • 功能性观点考虑或许希望编写一个测试表单单击Submit按钮然后验证表单是否显示定义

    From a functional standpoint, you'd probably want to write a test to fill in the form value, click the Submit button, and then verify the presence of the definition under the form.

    youdao

  • 编写一个测试清理方面自动每次测试例子中那样重新设置方面从概念上来说是简单但是细节超出本文范围

    Writing a test-cleanup aspect to automatically reset aspects like the one in the example after each test is conceptually simple, but the details are beyond the scope of this article.

    youdao

  • 每个方法都有了至少测试使用代码覆盖率工具cobertura每个分支编写一个测试直到每一代码都能够测试

    Once every method has at least one test, use a code coverage tool, such as Cobertura, to write one test for every branch until each line of code is tested.

    youdao

  • 产品发布以后如果发现了缺陷,我们会编写一个测试并且所有版本中进行验证看看这个缺陷是不是已经某个版本里面修复

    When a bug is found after a product has been released, a test is written and verified against all channel builds to see if the bug has already been fixed in one of the channels.

    youdao

  • 下一步编写简单测试脚本这个脚本将条目添加队列中

    The next step is to write a simple test script that adds an entry to the queue.

    youdao

  • 可以那些代码片段编写更多失败测试直到一个合理规范开始成形

    More failing tests could be written for those pieces of code until a reasonable specification begins to take shape.

    youdao

  • 特别是,如果把程序自身当作它的输入发生什么,我们需要编写一个怎忙的程序来测试它呢

    In particular, what if we decided we wanted to write a program that would test what happens when we run a program on itself as input.

    youdao

  • 不能以递增方式生成窗体设计器—也就是说,您不能实现一个服务测试应用程序然后编写一个服务。

    You can't build the forms designer incrementally-that is, you can't implement one service, test the application, and then write another service.

    youdao

  • 对于那些希望编写一个新的测试框架的人员而言,门槛降低了。

    For those who want to write a new test framework, the barrier for entry is lower.

    youdao

  • 应该遵循下面这条好的原则:即只要认为有必要代码中的某个行为加注,就编写单元测试

    A good guideline to follow is to write a unit test whenever you feel the need to comment some behavior in the code.

    youdao

  • 所使用的开发工具需求群件编写代码的需求以及一个群件运行测试的需求之间毫无联系

    There was no connection between the requirements that you created with one of the suite tools, the code you wrote with another, and the tests you ran with yet another.

    youdao

  • 一方面,我们一直计划不久以后编写测试套件存在一个重大明显差距越早构建更多测试支持使用节省时间就越多。

    On the other hand, the test suite we keep planning to write "soon" has been a major and noticeable gap; building more testing support earlier and using it more could have saved a lot of time.

    youdao

  • 处理新的用户故事时,发现针对一个故事编写测试已经不再体现需求

    When proceeding to a new story, you discover that a test you wrote for a previous story no longer reflects the requirements.

    youdao

  • 一种策略是,在编写正在测试代码编写测试程序;一种策略是,一个开发者小组编写测试程序。

    Either you write the test when you write the code being tested, or you have another team of developers write the tests.

    youdao

  • 以为通过白板上编写一个测试用例可以产生清晰架构想法简直就是胡闹。

    The notion that you can generate a viable architecture by starting with a blank screen and then writing one test case after the other is sheer folderol.

    youdao

  • 如果自己动手开始工作,那么你需要开发enterprisebean服务器部署以便你可以编写一个JUnitEE测试它。

    If you were to start on your own, you would need to develop an Enterprise bean and deploy it in the server so that you could write a JUnitEE to test it.

    youdao

  • 编好这个方法注意到这个缺陷,由于狂热地崇拜开发人员测试,于是我编写一个使用TestNG常规测试

    Having just coded the method, I haven't yet noticed the defect, but because I'm a developer testing fanatic, I write a routine test using TestNG.

    youdao

  • JUnit提供一个用于编写测试模板,该模板可以安装执行卸载

    It provides a template for writing tests with setup, execution, and teardown.

    youdao

  • 现在,我们编写一个探索测试访问公共提要结果转储stdout以便进行分析如清单8

    In keeping with the progression so far, let's write an exploration test that hits the public feed and dumps the results to stdout for examination, shown in Listing 8.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定