title: Simulating Maven Surefire behaviour with jUnit
body: <p>I would like to write Ant task which would do exactly the same thing as Maven's Surefire plugin.</p>
  
  <p>The problem is that Surefire is basically a part of Maven so I can't find any information on what it actually does.</p>
  
  <p>(it can use Surefire API for example, but I have no idea how to do this since there is no information even on their site)</p>