Reputation: 2994
I am new to Drools Guvnor and have set up a basic rool framework using the same. I just want to know if current Drool file is correct or not.
As of now, I have no way except running it end to end. Is there any to check compilation issues immediately?
EDIT:
When we have syntax errors, for example, 'string.Contains' instead of 'string.contains' validate/verify pass successfully and so does 'Build Package' option. Let me know If I am missing anything.
Apart from this, I don't have much idea about QA section (in fact, we haven't put any test there).
Thanks,
Upvotes: 1
Views: 4367
Reputation: 1227
In Guvnor you can
1) Validate individual rules by Source -> Validate menu, (can be seen when rule is open)
2) Define and run a test scenario using QA section. Guvnor manual has a nice section describing its use.
3) Use Validate Configuration and Build Package buttons on Edit tab of your package. This will compile all rules in your package.
I suggest you use use validate menu on every edit to a rule, and write test scenarios that cover 100% of your rules.
Upvotes: 1