title: Hudson CI and PHPUnit: None of the test reports contained any result
body: <p>Im trying to integrate my PHPUnit tests into Hudson using the xUnit plugin. After a successfull build with Ant in hudson, the console output shows:</p>
  
  <p>Recording test results<br>
  None of the test reports contained any result</p>
  
  <p>My junit.xml test output using phpunit --log-junit looks as follows:</p>
  
  <pre><code>&lt;testsuites&gt;
    &lt;testsuite name="Unit Tests" tests="1" assertions="1" failures="0" errors="0" time="0.005112"&gt;
    &lt;testsuite name="DbTest" file="src/tests/unit/DbTest.php" tests="1" assertions="1" failures="0" errors="0" time="0.005112"&gt;
      &lt;testcase name="testConnection" class="DbTest" file="src/tests/unit/DbTest.php" line="4" assertions="1" time="0.005112"/&gt;
      &lt;/testsuite&gt;
    &lt;/testsuite&gt;
  &lt;/testsuites&gt;
  </code></pre>
  
  <p>Any help is appreciated</p>
  
  <p>EDIT:
  I just created a test junit.xml containing:</p>
  
  <pre><code>&lt;testsuites&gt;
    &lt;testsuite name="DbTest" file="src/tests/unit/DbTest.php" tests="1" assertions="1" failures="0" errors="0" time="0.005112"&gt;
      &lt;testcase name="testConnection" class="DbTest" file="src/tests/unit/DbTest.php" line="4" assertions="1" time="0.005112"/&gt;
      &lt;/testsuite&gt;
  &lt;/testsuites&gt;
  </code></pre>
  
  <p>With this in place, a build was successful. The problem seems to be the nested -tags. Any idea how to prevent PHPUnit to create these nested tags?</p>