Elements of Business Rule Management: Unit Test Framework
While building rules, having the ability to see them run and evaluate if what they are doing is what they were designed to do is important. However, one of the problems that can happen in any set of business rules – whether built graphically in a tool like the Decisions rule designer, or coded by programmers – is a rule is fundimentally changed or even broken without anyone being able to catch it.
In the software development world most methodologies now involve not just writing a piece of code but also writing (in code) a battery of tests that allow a system to be excersized and validated automatically. The advantage of this is when behavior is broken or changed, the test execution tool can catch this and it can be dealt with.
In a graphical environment there is the need to this same type of testing.
- Is this rule still producing the results I am expecting?
- Does this rule handle bad input as it was designed to do?
- Does this rule fail when it it supposed to? (yes, a rule failing might be what it is supposed to do, in the case of missing data etc)
The decisions platform includes a unit test framework that allows tests to be created and executed in a graphical environment.
Every test includes:
- Inputs to the rule or flow
- Expected result (expected to return a value? expected to fail? expected to run without failure?)
Would you like to see a demo of how you can unit test rules within the Decisions platform? Drop us a line here.
(We are joining Technorati!) TS49VQ5YCSA2
- What Does No-Code Software Really Mean for End Users?
- Is Your Company’s Workflow Software Not Cutting It? Here’s What You Need to Know
- The Advantages of Using a Rules Engine for Managing Insurance Forms, Rate and Commission Calculations
- 6 Tips for Mastering Data Management
- Building Brownfield Applications
- Understanding External Truth Tables: Applications for Your Business
- How Manufacturers Streamline Business Processes with Workflow Automation
- The Benefits of Using an External UI
- Data Mapping Tools to Consider When Selecting a Decision Management System
- What Multi-Tenancy Environments Can Do for Your Business