How to use Drools parser?

Solution Verified - Updated -


  • It's necessary to test our rules exhaustively at the JUnit level. One idea is to read the rules and programatically generate all the border cases. Would it be possible to utilize Drools parser for this? For example, given a drl file, I want to extract a rule, and then I want to be able to extract the conditions and the consequence, and examine each of its parts.


  • Red Hat JBoss BRMS
    • 6
  • Red Hat Decision Manager
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In