Thanks.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel...@ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: rus...@russel.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
> I may be missing something really obvious, but
> http://code.google.com/p/spock/wiki/GettingStarted does not mention how
> to run a Spock job from a Groovy script. The context is that of
> creating a Spock program as a string in a Groovy script and then
> compiling and running it from within the script. Using GroovyShell
> requires an explicit main, but what to put in that main?
You can use the grails plugin for inspiration:
Basically you through the classes at http://junit.sourceforge.net/javadoc/org/junit/runner/JUnitCore.html
--
You received this message because you are subscribed to the Google Groups "Spock Framework - User" group.
To post to this group, send email to spockfr...@googlegroups.com.
To unsubscribe from this group, send email to spockframewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spockframework?hl=en.