ATG Groovy TDD
Contents
Got it working. It is a bit rough around the edges, but functional.
The two components
- http://localhost:8080/dyn/admin/nucleus/thinkwrap/twatg/script/GroovyDemoScript/
- http://localhost:8080/dyn/admin/nucleus/thinkwrap/twatg/script/GroovyScriptRunner/
The are not started via Initial, but that is not a problem.
The script tested:
class ThatsGroovyDude implements com.thinkwrap.twatg.script.RunnableScript {
atg.nucleus.Nucleus nuc = atg.nucleus.Nucleus.getGlobalNucleus();
public String run() {
String s = "";
nuc.configPathNames.each { s += "${it}\n" }
return "Hello World!\n\n" + s;
}
}
Author Miro Adamy
LastMod 2014-05-16
License (c) 2006-2020 Miro Adamy