You could have a look at org.drools.guvnor.server.files.PackageDeploymentServlet.
The doGet() method suggests if a URL ends with SCENARIOS it will run the tests and return the results, but I don't know if anyone uses it (and hence it's stability).
It suggests a URL formatted http://localhost:8080/org.drools.guvnor.Guvnor/package/{packageName}/SCENARIOS should work.
Try it, if it works then great; if not why not contribute to the project with a fix :)
Is there capability within Guvnor/Drools currently to invoke SCENARIO's
defined in Guvnor? If yes, can someone point me to it?
If this is missing, does the community see value in such a feature?
see http://pastebin.com/Drze6YGP for some thoughts.
--
View this message in context: http://drools.46999.n3.nabble.com/project-idea-Running-Guvnor-SCENARIOS-from-regular-java-code-tp3690698p3690698.html
Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev