On Oct 7, 2010, at 10:05 AM, richardm wrote:

> 
> Hi, 
> 
> How do you set the forkmode to once for junit tests?  
> 


I think that's the default.  You can set forkEvery to a high number, but I 
think it would have the same result.

The syntax for configuring forking options is like:

test {
  forkEvery = 100
  maxParallelForks = 3
  maxHeapSize = '512m'
  workingDir = 'integTest'
}

See the Test class for descriptions of the options: 
http://www.gradle.org/0.9-rc-1/docs/javadoc/org/gradle/api/tasks/testing/Test.html
--
Steve Appling
Automated Logic Research Team





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

    http://xircles.codehaus.org/manage_email


Reply via email to