[rules-users] JUnit testing

John J. Franey jjfraney at gmail.com
Tue Dec 4 09:50:15 EST 2007




J Michael Dean wrote:
> 
> I am having problems figuring out how to do JUnit 4 unit tests with  
> Drools and am wondering what I am missing.
> 

I'm successfully using junit4 to test rules.  I build a rules package from
my rules file, create a stateful session, insert facts, fire all rules, run
queries, and finally, perform junit asserts on the results.

I can't tell you what you are missing, unless you say what you have.

Regards,
John


-- 
View this message in context: http://www.nabble.com/JUnit-testing-tf4930259.html#a14151759
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list