Enhancements to spreadsheet based testing tool
Project: JBoss Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Reporter: Michael Neale
Assignee: Michael Neale
Fix For: FUTURE
As mentioned by Ansgar in blog comments:
we're using Drools to perform mortgage scoring. For testing, we developed a somewhat
similar, but already more sophisticated testing framework. Currently, our test set
comprises of roughly 800 test scenarios/test cases.
* also uses spreadsheet tables to define test cases.
* each column resembles a test case
* leftmost column used to name elements of input facts or define expected conditions (see
* concept of "expected values" not expressed as mere values, but as drools
conditions which are expected to hold after rules all under test finished execution. These
conditions are automagically converted into a drools query which is run against the
working memory after rule execution.
* conditions support simple text replacement, like a macro preprocessor. Wildcards in
drools condition can be replaced by test case-specific text
* allows skipping of certain condition checks on a per-test-case basis
* event logging of the drools working memory embedded into fit output file for failed
copy/paste into "audit view" window in eclipse. This eases debugging rules a
* possibility to define a subset of rules contained in a *.drl file to be tested
* Syntax of initial facts specification is probably a bit cumbersome. We're using a
self-brewed language to do this. Already thought of replacing this by MVEL, but not done
yet. For us, the current solution works ok.
* Up to now, requires explicit import of all used Java classes. This is rather a
limitation of drools - we did not manage to get package imports in *.drl files to work.
Could probably be solved.
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see: http://www.atlassian.com/software/jira