RuleScape Test Accelerator is an Eclipse plugin that enables IBM Operational Decision Manager (ODM) technical developers to easily and quickly test the business rules in a decision service. It generates the scaffolding (test projects, libraries, skeleton source code, etc.) for you to build test cases in Java, JSON or XML. These test cases employ the RuleScape Test Framework library (also installed with the plugin) to extend JUnit and generate helpful coverage reports, logs and other reports.
The importance of developer testing of any software artifact cannot be overstated. This is more so true for decision services which are meant to handle change and evolve rapidly. Continual, extensive testing is crucial for robust decision services.
The JUnit based developer test cases built using the RuleScape Test Framework are very important during initial rule project development and subsequent technical refinements of a decision service, such as a change to the underlying Java XOM, refactoring and other changes that require developer involvement. These unit tests can be incorporated into the deployment DevOps pipeline as well to deliver continuous quality and avoid regressions.
At a high level, it provides the following features:
- Ease creation of JUnit test cases that invoke your decision service
- Provide ability to define decision service payload data in Java, XML or JSON
- Provide handy methods that provide ability to test if a specific rule has fired
- Provide detailed logs of the request data, response data and fine-grained list of rule tasks and rules that fired. The data may be logged in XML or JSON. These logs can be persisted to the file system. These historical logs can prove to be useful when you encounter an unexpected result after a change.
- Test execution reports that:
- Create a rules histogram and identify if any rules are left untested
- Report performance characteristics of the decision services
- Create a reverse lookup report that lists test scenarios that fire a specific rule
- Allows custom reporting by using a custom listener class
Detailed installation instructions and a tutorial to describe usage can be found here: https://github.com/rulescape/rulescape.github.io/blob/master/test-accel…
Categories: Testing
Additional Details
Eclipse Versions: Oxygen (4.7), Neon (4.6), Mars (4.5)
Platform Support: Windows, Mac, Linux/GTK
Organization Name: RuleScape Consulting LLC
Development Status: Production/Stable
Date Created: Friday, April 10, 2020 - 14:58
License: MIT
Date Updated: Wednesday, August 19, 2020 - 14:09
Submitted by: Rajesh Rao
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
January 2025 | 474/627 | 4 | 6 |
December 2024 | 546/654 | 3 | 8 |
November 2024 | 511/658 | 5 | 11 |
October 2024 | 584/663 | 2 | 5 |
September 2024 | 540/642 | 3 | 7 |
August 2024 | 449/641 | 8 | 12 |
July 2024 | 460/663 | 9 | 11 |
June 2024 | 479/681 | 8 | 16 |
May 2024 | 483/682 | 8 | 10 |
April 2024 | 490/687 | 9 | 14 |
March 2024 | 441/694 | 15 | 10 |
February 2024 | 516/687 | 6 | 9 |