Hi guys,
I've ran across the same problem.
Here is my situation
I have a test folder, but it containts tests that are NOT JUnit tests. They are some OSGI bundle - tests. So I have declared 'exclude' mask for them in the unitTest tag in the POM file.
This works perfectly, until I start to use dashboard.
I have a module that has ONLY OSGI tests - not a single JUnit.
A 'junit-report.xml' file is created for the module, but the evaluation of the expression for calculation of JUnit percentage does not work because all numbers are zeroes.
Here is part my junit-report.xml
<pre>
<table summary="JUnit result summary">
<thead>
<tr>
<th>Tests</th>
<th>Errors</th>
<th>Failures</th>
<th>Success rate</th>
<th>Time(s)</th>
</tr>
</thead>
<tr>
<td>0</td>
<td>0</td>
<td>0</td>
<td>?</td>
<td>0.00</td>
</tr>
</table>
</pre>
best regards,
and many many thanks for the wonderful plugin,
Kaloyan
Patch