How to use Drools parser?

Solution Verified - Updated -

Issue

  • 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.

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content