使用下面的文本片段测试规则。
当测试规则定义时,它会创建作为相同表的一般规则执行。
When you test a rule definition, it creates the same tables as a normal rule execution.
如果您改变了架构,只要改变您的JUnit测试规则,就可确保您的团队遵守了项目标准。
If you make changes to the architecture, simply change the rules in your JUnit tests to ensure your team is following project standards.
如图所示,以原子单位定义、捕捉和实现规则后,可以非常轻松地测试规则的正确性。
As shown, rules you define, capture, and implement as atomic units can be far more readily tested for correctness.
使用RegEx编辑器的TestRule部分(见图6)在一组示例文本片段上测试规则。
The test rule section of the RegEx editor, which is shown in Figure 6, is used to test your rule on a set of sample text snippets.
每次运行数据规则时,都会测试规则定义,而且会在分析数据库中创建几个包含规则输出与规则统计信息的表。
Each time you run a data rule, a rule definition is tested, and several tables that contain the rule outputs and rule statistics are created in the analysis database.
通常情况下,公司用户在一台服务器上创建并测试规则,然后公司用户或门户管理员会再把这些规则发布到一台生产服务器上。
Typically, business users create and test rules on one server, and then either the business user or portal administrator publishes them to a production server.
复习语法规则,然后测试自己的语法才能。
Go over grammar rules, and then test yourself with grammar talent.
很多数据清理模式的实现都提供了成熟的工具来开发、测试和部署清理规则。
Many implementations of the data cleansing pattern provide sophisticated tools to develop, test, and deploy the cleansing rules.
像上面这样的业务规则更容易管理和测试。
Business rules like the ones above are easier to manage and test.
该规则优先于测试到期日期的所有下列规则。
This rule has priority over all following rules for the tests due date.
一个变更和规划的预期将有助于阐明个别业务策略的范围和需要在初始设计中确定和测试的业务规则语义。
An anticipation of change and planning will help clarify the range of individual business policy and business rule semantics that need to be captured and tested in the initial design.
只运行受修改规则影响的测试套件。
它调用一个新的运行时间工作台来测试您的规则。
此表包含每个已测试记录的未验证规则清单。
This table contains the list of non-verified rules for each tested record.
但是,它们采用的测试发现规则不太一样,在选择框架时需要考虑到这一点。
But the rules by which they discover tests are somewhat different, and might be worth reviewing before making a choice between the frameworks.
修改、保存和测试,直至所有规则正常运行。
Change, save, and test until all rules are working as designed.
编写测试必须遵守的规则很少;除此之外,您绝对可以自由选择自己喜欢的测试策略。
There are only a few rules that you must obey to write tests; beyond these, you are absolutely free to choose the testing strategy you prefer.
我一直是那种不愿墨守陈规的人,一直有想测试极限、打破规则的倾向,并抱着逆反的心态顺应每件事情。
I've always been a kind of Nonconformist. I've long had a streak of wanting to test limits, break rules, and everything else that goes along with a rebellious mindset.
我一直是那种不愿墨守陈规的人,一直有想测试极限、打破规则的倾向,并抱着逆反的心态顺应每件事情。
I've always been a kind of nonconformist.I've long had a streak of wanting to test limits, break rules, and everything else that goes along with a rebellious mindset.
在迁移系统测试环境中学习迁移规则,它也允许您犯错。
Use the migration of a system test environment to learn the ropes and make mistakes.
这些规则的实现比用于分配测试的规则的实现要略微简单一些,但我发现它们更有趣一些,原因有四。
The implementation of these rules is a little simpler than the implementation of the rules for assigning tests, but I find them a little more interesting, for four reasons.
如果查看要解决的问题中详细的业务规则,您将注意到用于分配测试到期日期的规则具有优先顺序。
If you review the business rules detailed in the problem to solve, you'll notice that the rules for assigning a tests due date have a precedence order.
如果测试结果显示规则逻辑不能按照预想正常运行,修改相应规则定义。
If the test results show that the rule logic is not working as expected, modify the rule definition accordingly.
因此,分配给机器的测试需要成为规则执行引擎在对规则求值时所使用的知识的一部分。
So the tests that are assigned to a machine need to become part of the knowledge that the rules execution engine should use when evaluating the rules.
当某个规则需要一系列相似的测试时,将使用规则模板。
When a similar series of tests are required for a rule, a rule template is used.
使用自动化工具支持重复测试,确保新规则添加到集合中时,旧规则不会被违背。
Using automated tools further allows for repeatable testing to ensure that as new rules are added to the collection, the older rules are not broken.
使用自动化工具支持重复测试,确保新规则添加到集合中时,旧规则不会被违背。
Using automated tools further allows for repeatable testing to ensure that as new rules are added to the collection, the older rules are not broken.
应用推荐