title: How to fork the jvm for each test in sbt
body: <p>I am working with some classes that (for some reason) can only be used once within a single VM. My test cases work if I run them individually (<code>fork := true</code>) enabled in my <code>sbt</code> settings.</p>
  
  <p>If I run more than one of these tests, they fail with an exception that has to with a thread executor rejecting a task (it's most likely closed). It would be very time consuming to find out what causes the problem and even if I find the problem, I might not be able to resolve it (I do not have access to the source code).</p>
  
  <p>I am currently using the <code>specs2</code> test framework, but any test framework using <code>sbt</code> would be acceptable.</p>
  
  <p><strong>Is there any test framework for <code>sbt</code> that is capable of running each test in a <code>jvm</code> fork?</strong></p>
  
  <p>Thoughts or ideas on possible other solutions are of course welcome.</p>