因此,如果测试对象没有这样一系列的属性,那么这种方法就不会正常地发挥其功能。
Therefore, if the test object does not have such a set of properties, the method will not function correctly.
这篇文章没有涉及安装每个方法的内容,但是简单地了解它们是非常重要的,这样您才可以熟悉测试环境,虚拟馆藏资源,以及实验室资源组的特征。
This article does not cover setting up each method, but they are important to cover briefly so that you are familiar with the test environment, virtual collection, and lab resource group features.
这种测试方法使得诊断最终调试错误情况非常困难,在这样高的调用量下,最终调试错误情况可能很难再现或发生。
This testing methodology makes it very difficult to diagnose end debug error conditions, which may be very difficult to reproduce and happen under such high call volumes.
这是一个非常好的方法,您可以使用象这样的模块脚本构建模块,以创建不同的测试用例场景。
What's really nice about this method is that you can use modular scripts like these as building blocks to create different test case scenarios.
不幸的是,大部分的这些方法都没有相应的文档,这使得测试每个方法以检查它对用户界面的影响这样的一项任务相当烦人。
Unfortunately, most of these methods are not documented, making it a painful task to test each method to check the impact it has on the user interface.
编写覆盖像setter和getter这样简单方法的测试代码并不难。
It's not hard to write tests that cover simple methods like setters and getters.
诸如Litmusapp这样的服务可以集成到您的测试和开发流程中,提供版本化支持和方法,向外部客户机发布测试结果。
Some services, like Litmusapp, can integrate with your testing and development workflows, offering versioning support and ways to publish test results to external clients.
我为Thread. Sleep方法设置了一个值为1500(毫秒)的整型延时变量,这样在测试自动化的各个时刻都可以暂停1.5秒。
I set an int delay variable to 1500 (milliseconds) to feed to the Thread.Sleep method so I can pause 1.5 seconds at various points in the test automation. To launch the app under test I use this code.
第一种方法是对代码进行一套完全彻底的单元测试:在重构之前和之后都必须通过这样的测试。
One way is to have a thorough set of unit tests for the code: the code should pass the tests both before and after refactoring.
最实用的方法就是减少设计阶段中的案例数,这样的话稍后需要进行基准测试的案例就比较少了。
The most practical way is to minimize the number of cases during the design phase so that fewer cases need to be benchmarked later.
刺破皮肤取血测试血糖水平是安全监测血糖水平的唯一方法,这样可以让患者知道是否需要注射胰岛素。
Skin prick tests are the only way to safely monitor glucose levels and will let patients know if they need an insulin injection.
这样做不仅使代码变得更具可测试性,而且也使它不依赖于方法的全局变量。
Doing this not only has made the code more testable, but also made it not depend on the global variables in the method.
这样,我们建议一种双交叉的方法来确保这个用例对测试人员来说还具有功能上的价值。
Thus, we recommend a two-pronged approach to ensure the use cases are of functional value to the testers.
一种方法是再回过头来进行测试,但是测试无法逮住滥用的用户,不管他们是否有意这样做。
Part of the solution goes back to testing, but testing functionality isn't going to catch abusive users — whether they mean to be abusive or not.
这样您就可以简单地从您的测试脚本中调用必要的方法(例如在一个表格中查询)。
This allows you to simply call the necessary method (for example to query on a table) from your test scripts.
该指南为描述使用环境提供了系统的方法,这样一来,测试就能够在相似的环境下进行。
This guide provides a systematic method for describing the context of use, so that testing may be done under similar context.
测试诸如单击链接这样的用户动作可以通过使用WicketTester的clickLink()方法实现,只需为之传递链接组件ID路径,然后再验证所呈现的组件即可,如清单23 所示。
Testing a user action such as clicking a link can be done using WicketTester's clickLink() method, passing it the link component ID path, and then verifying the rendered page, as shown in Listing 23.
此外,合适的是测试方法名称都有一个“test ”前缀,这样测试运行人员就可以自动地执行所有的方法。
In addition, it is desirable to prefix the test method name with "test" so that the test runner will execute all methods automatically.
使用这样一个ant脚本,可以以一种自动化方式运行一些Selenium测试,方法是计划这些测试,或者在一个持续集成工具中使用这个ant脚本。
Using an Ant script like this one, you can run the Selenium tests in an automated fashion by scheduling them or using the Ant script in a continuous integration tool.
这样做的原因在于,当在WebSphereProcessServer环境中进行测试时,我们需要一种方法来调用SCA模块。
We did this because we need a way to invoke the SCA module when testing in WebSphere Process Server environment.
许多开发者遇到过这样的事情,写了一些标准的单元测试函数之后,就认为把对verify方法从测试函数移到tearDown函数更好。
It occurs to many developers after authoring a few standard unit test functions that it would be better to move the call to verify from the test functions to the tearDown function.
这样能够更容易找到您需要测试的所有公有方法。
This makes it easier to find all the public methods you need to test. Each test starts life looking like this.
MartinFowler:我之所以采用逐步设计以及先写测试的方法,是因为这样做使我有了一个简明扼要的任务列表。
Martin Fowler: the thing I like about taking small steps and writing tests first is that it gives me a simple to do list of the things I've got to do.
你想知道快乐的方法吗?不要着急,我会给你一个测试,这样你们自己就能找到答案。
Do you want to know the way to become happy? Don't be anxious, I will give you a test so that you will find the answer by yourselves.
这样的形式描述方法满足软件测试自动化对形式描述的要求。
The requirements of formalization for automated software testing can be met by the method.
这样,便解决了现有方法无法兼顾使测试代价相对最少和使生成的故障定位树相对最小的问题。
In this way, the invention solves the problems that the existing method cannot minimize the testing cost and the generated fault locating tree t relatively at the same time.
我猜这样的测试方法也会在那些要求专一的情侣间盛行。
I suppose you could also market the test to couples thinking of an exclusive relationship.
我猜这样的测试方法也会在那些要求专一的情侣间盛行。
I suppose you could also market the test to couples thinking of an exclusive relationship.
应用推荐