[rules-users] Access global functions in Test Scenarios in Guvnor

Michael Anstis michael.anstis at gmail.com
Tue Nov 12 12:16:06 EST 2013


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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20131112/9ff6bf07/attachment.html 


More information about the rules-users mailing list