Guvnor's Test Scenarios do not provide the means to test arbitrary DRL (such as functions, queries etc); only rules.

The only real work-around would be to write a dummy rule that invokes the function and then check that the rule is working as expected.

With kind regards,

Mike


On 10 November 2013 19:50, franky0517 <asimhafeez.ou@gmail.com> wrote:
Hi,

I have written a function in Guvnor. Now I am creating a test scenario where
I want to call this function. As test scenario doesnt have "Free from DRL"
option, is there an another way to call the function ?

Thanks,
Asim



--
View this message in context: http://drools.46999.n3.nabble.com/Access-global-functions-in-Test-Scenarios-in-Guvnor-tp4026717.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users