Locate a value that your code returns to the test.
定位您的代码返回到测试的值。
Later in the plan, you can provide a more detailed estimate of the test execution effort by adding a weight value to each test case.
在随后的计划中,您可以通过向每一个测试用例添加一个加权值,来提供一份详细的关于测试执行效果的估计。
Each of these test levels has unique objectives and requires different sets of inputs to achieve solid test coverage, but all can draw value from the project's use cases.
每个测试水平都有唯一的不同输入设置的目标和需求来达到可靠的测试覆盖率,但是所有的测试水平都能够从这个项目的用例中获取一定的价值。
You pass this value as a command-line parameter to the test case.
这个值以命令行参数的形式传递给测试用例。
Like the previous set of test operators, comparison test operators are a handy way to perform error checking or to test values against another value.
与前一组测试操作符一样,比较测试操作符是执行错误检查或根据另一个值测试值的简便方法。
Even if your team does reserve a long or late period for system test, it is important in a Value Stream Map to distinguish between the time spent doing actual testing and the time fixing code.
就算团队为系统测试保留了很长或者晚期的时间,那么在价值流图中区分花在实际测试与花在代码修复上的时间就非常的重要了。
Although these requirements did not always add value to our product or our specific client base, we had to invest the time and resources required to implement, test, and document compliance features.
尽管这些需求并没有增加产品或特定顾客的价值,但是我们不得不花费时间和资源去执行,测试,并且更早地完成文档。
If that logic embodies true business value, however, then you'll want to test it, in which case you'll get to see the Extract Method pattern at work.
但是,如果逻辑中包含真实的业务值,就会想到测试它,这个时候就可以看到提取方法模式的作用了。
Most developers did some form of unit testing even without being asked; however, we found tremendous value in formalizing the unit test process to ensure consistent rigor and quality.
多数的开发人员只是进行一下形式上的单元测试,甚至不被要求单元测试;然而,我们发现通过正式的单元测试过程来确保一致的精确和质量是具有巨大价值的。
The choice of the nature and value of the test voltage is determined by standards which apply to the product tested.
测试电压的性质和数值的选择应由所测产品应用标准决定。
To test that it works properly, change the CPU value from 10 to 100 so it will be triggered every time the situation is sampled.
要测试它是否合理运作,将CPU值从10 改为 100,以便在每次采样情景时触发它。
The expression uses the *VALUE, *LT, *AND, and *EQ criteria functions to test for the condition CPU idle time being too low.
表达式使用 *VALUE、*LT、*AND 和 *EQ标准函数来测试CPU空闲时间过低的条件。
I'm expecting the value that test to be a Boolean. Followed by a colon.
我希望测试的结果值的类型,是Boolean的,后面是个冒号。
We also can use the find() method to find the test object with some given attribute/value pairs.
我们还可以使用find()方法来找到匹配属性/值的测试对象。
After you have made your selection, the value to be returned to the test is highlighted in orange, and the Used by table is updated with this information.
在您做出选择后,返回到测试的值被高亮显示成橙色,并且Usedby表也随着此信息一起被更新。
The theory was put to the test in 1901 by Mario Lazzarini, a mathematician who dropped 3408 needles to get a value of 3.1415929…, correct to the first six decimal places.
1901年,意大利数学家马里奥·拉扎里尼对该理论进行了实验尝试,他一共掷出了3408根针,得出的π值为3.1415929…,这个数值准确到小数点后六位。
Create a data pool to replace the user ID and password value in the test.
创建一个数据池,置换测试中的用户ID和密码的值。
Note: I used Apache Directory Studio to change the user's password to a value that I could put into the test code to make sure it worked.
注意:我使用ApacheDirectoryStudio来将用户的密码更改为一个能放入测试代码以确保它工作的值。
In that case, get returns null, making it even more important than usual to test the return value of get for null.
在这种情况下,get返回null,这使得测试get的返回值是否为null变得比平时更重要了。
You can prime JUnit to expect this failure by setting the expected value on the @Test annotation of the class type you expect to be thrown.
通过将您希望抛出异常的类类型的 @Test注释的值设置为 expected,可以使 JUit 提前预测到这种错误。
You write an agent to append that value, you test with a user who has the [ProdDev] role, but not the [HR] role, and everything looks great.
您编写代理来添加该值,并对拥有[proddev]角色但不拥有[hr]角色的用户进行了测试,一切看起来很正常。
Listing 1 contains the code, as well as my first test. (I hope I don't need to convince you of the value of writing unit tests.)
清单1是相关代码和第一个测试(您一定明白编写单元测试的重要性,这里就不多说了)。
And each proposes to Socrates a test that he will have to pass in order to prove the value of justice and the just life.
每一个建议对苏格拉底都是一次必需通过的测试,以证明,正义与公正人生的价值。
It can also save time, if it turns out (as it often does) that the only thing done with the node-set is to test whether it is empty, or to get the value of its first element.
它还可以节省时间,如果对于节点集的唯一操作就是测试它是否是空的(通常是这种情况),或者对它的第一个元素进行赋值。
The approach to use case review may vary, but clearly, teams must give formal attention to the quality of the use cases if they are to be of value in test case creation.
这种处理用例检验的方法可以变化,但是很明显,这些用例在测试用例的创建种有重要的价值,团队必须从形式上关注这些用例的质量。
After the data pool is associated with the test, it will replace the value in the test with the data from the data pool when executing, thus simulating different user request to the server.
在将数据池同测试关联之后,它将会在执行时将测试中的值置换为数据池中的值,从而仿真不同的用户对服务器的请求。
If you want a field in the integration test client to be unset, you set the value to.
如果希望集成测试客户端中的字段为未设置字段,则将该值设置为。
In the example, the test verifies that the advice correctly marshals data from ITDs as well as the return value of the original join point, passes it to a utility class, and returns the new result.
在例子中,测试验证建议正确地编组了来自ITD的数据以及原来联结点的返回值、将它传递给一个工具类并返回新的结果。
Automatically (automated data correlation), where the test generator automatically detects the previous value to substitute in the current request.
(自动的数据关联),测试生成器自动检测到当前请求中要替换的前一个值。
Automatically (automated data correlation), where the test generator automatically detects the previous value to substitute in the current request.
(自动的数据关联),测试生成器自动检测到当前请求中要替换的前一个值。
应用推荐