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(a)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-Scenari...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users