On 07/07/2011 13:44, Andre wrote:
> and how do you examine, whether a special rule has fired?
> cause the code just checks whether the engine has done modifications on
> objects
> and is it possibly to load the spring config in such a Junit test?
For just unit testing we tend to have the consequence put a value in a 
list or  map. But you can use an agenda listener to record what has 
fired with what facts.

it's normal java, so you can definitely just load up your kbase with spring.

Mark
>
> --
> View this message in context: 
> http://drools.46999.n3.nabble.com/Unittesting-in-drools-tp3137475p3148050.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to