<div dir="ltr"><div><div>Guvnor&#39;s Test Scenarios do not provide the means to test arbitrary DRL (such as functions, queries etc); only rules.<br><br></div>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.<br>
<br></div>With kind regards,<br><br>Mike<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 10 November 2013 19:50, franky0517 <span dir="ltr">&lt;<a href="mailto:asimhafeez.ou@gmail.com" target="_blank">asimhafeez.ou@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have written a function in Guvnor. Now I am creating a test scenario where<br>
I want to call this function. As test scenario doesnt have &quot;Free from DRL&quot;<br>
option, is there an another way to call the function ?<br>
<br>
Thanks,<br>
Asim<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Access-global-functions-in-Test-Scenarios-in-Guvnor-tp4026717.html" target="_blank">http://drools.46999.n3.nabble.com/Access-global-functions-in-Test-Scenarios-in-Guvnor-tp4026717.html</a><br>

Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br></div>