Hi Tom,

I want to implement the above issue. I'm a confused by the following code in JUnitTestFramework:

// only fork per test if no tests are implemented in Groovy
if (!project.getPlugins().hasPlugin(GroovyPlugin.class)) {
    options.setFork(true);
    forkOptions.setForkMode(ForkMode.PER_TEST);
    forkOptions.setDir(project.getProjectDir());
}
else {
    forkOptions.setForkMode(ForkMode.ONCE);
}

Why do the if and else clause differ beside the setting of the fork mode?

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to