Does our final structure pass the relevant logic test?
最后的架构是否通过有关的逻辑测试呢?
Summary: If you have not already done so, delegate some or all of your advice logic to another class that you can test directly.
概述:如果还没有做的话,可以将一些或者全部建议逻辑委派给其他可以直接测试的类。
In Listing 12, you should see some similar code, yet this code has logic for mapping a list of test cases.
在清单12中,您将看到一些非常类似的代码,不过这些代码的逻辑是用来映射一个测试用例列表的。
For more advanced users, who understand a little logic and how test scenarios should be created, they can use the editor to construct tests using a functional testing DSL (domain specific language).
对于更高级的用户,他们懂一点逻辑,懂得如何创建测试场景,可以使用编辑器和功能测试的领域特定语言去构造测试。
This is particularly true when you develop and test a rule to quickly verify its logic.
特别是对于开发并测试需要快速验证器逻辑的规则而言,尤其如此。
It would be very advantageous for you to be able to write and test new order handling logic without risking breaking one of the existing business rules.
对你而言,如果能够书写并且测试一些新的订单处理逻辑而不用冒着破坏现有业务规则的风险将会是一件非常有利的事情。
This approach clearly separates the testing logic encapsulated in the decision scripts from the test actions and verifications performed in the test scripts.
这种方法清晰的将决策脚本中的测试逻辑封装与测试脚本中执行的测试动作和验证分离开来。
At appropriate places throughout the code, the programmer writes program logic to test whether the current user is authorized to perform an operation.
在整个代码中的适当地方,程序员编写程序逻辑来测试当前用户是否有权执行某个操作。
If the test results show that the rule logic is not working as expected, modify the rule definition accordingly.
如果测试结果显示规则逻辑不能按照预想正常运行,修改相应规则定义。
The test includes logic puzzles and visualization problems, but it also has questions on vocabulary and basic physics and chemistry.
测试包括逻辑智力和形象化问题,还包括词汇问题和基础的物理化学问题。
To test, analyze and validate business logic.
测试、分析并验证业务逻辑。
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.
但是,如果逻辑中包含真实的业务值,就会想到测试它,这个时候就可以看到提取方法模式的作用了。
S.The test includes logic puzzles and visualization problems, but it also has questions on vocabulary and basic physics and chemistry.
测试包括逻辑智力和形象化问题,还包括词汇问题和基础的物理化学问题。
You'll need a live database properly seeded with lookup data to test the GUI and a properly working GUI to test the data access logic.
您将需要一个具有正确查找数据的活动数据库来测试GUI,和一个运行正常的GUI来测试数据访问逻辑。
Business logic in stored procedures is more work to test than the corresponding logic in the application.
业务逻辑放到存储过程中和放到代码中相比,前者需要花费更多的工作去完成测试。
Only a comprehensive, automated test suite can find logic errors.
只有一个综合的,自动的测试组可以发现逻辑错误。
We'll add some simple logic to make it easier to test the exception behavior.
我们将会添加一些简单的逻辑来简化异常的测试。
When the logic for picking apart the records was kept with the test, it was untestable.
当拆分记录的逻辑保存在该测试中时,将无法对其进行测试。
As a result, developers can focus on the business logic, and unit test their POJOs without the framework.
因此,开发者可以利用POJO开发业务逻辑和进行单元测试而不必考虑框架。
Of course, the logic you include in your application depends on the functions you plan to test.
当然,应用程序中包含的逻辑取决于要测试的功能。
You can use a small sample of test data to check to see if the logic of the assembly is correct.
您可以使用一小部分测试数据以便查看集合的逻辑是否正确。
The body of logic removed and placed into its own method is now easier to test.
移走并放在自己方法中的逻辑体现在更容易测试。
When using LOC, it is important to count only those artifacts that contribute logic to test.
当使用代码行时,重要地是仅仅计算实现了逻辑那些工件。
So the UI test automation will not catch the logic error if the application has the wrong method wired to a button click event (although every test would fail and you'd find the problem quickly).
所以如果应用程序为按钮单击事件关联了错误的方法,UI测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
Mock objects are used to test a portion of your code logic in isolation from the rest of the code.
模仿对象用来单独测试代码逻辑的一部分。
Currently, if you want to test your business logic that USES WebSphere business objects, you must deploy your code to a running server in order to run it.
目前,如果您希望测试使用WebSphere业务对象的业务逻辑,就必须将您的代码部署到一台正在运行的服务器中,以便运行它。
This also means that XML-based IoC allows you to implement and test the business logic of each of the tasks of your workflow independently.
这也就意味着基于XML的IoC允许您对工作流程中的每一个任务的业务逻辑分别进行实现和测试。
The code snippet shown in Listing 7 is a test driver that exercises the xml2json converter logic.
清单7中的代码片段是一个用于执行xml2json转换器逻辑的测试驱动程序。
The class implements only the Chi Square test logic.
该类只实现X平方分布检验逻辑。
The class implements only the Chi Square test logic.
该类只实现X平方分布检验逻辑。
应用推荐