On Thu, May 30, 2002 at 11:22:03PM +0100, Vincent Massol wrote:
> Here are some data for one of my project :
>
> Number of tests : 238
> Number of failures : 22
> Number of errors : 70
>
> Success rate : 120.17%
You must have maven.randomize.unit.test.results set to true. :-)
> The formula seems ok :
>
> #set ($successRate = $node.valueOf("($testCount - $failureCount -
> $errorCount) div $testCount"))
>
> but when I compute it on my calculator, I get : 0.613, which should be
> 61.3%
I'll take a look at this, could you send me your raw XML report file
(feel free to compress it), you'll find it in your target/test-reports
directory and its called TESTS-TestSuites.xml. This will just me
something I can use to reproduce the problem, over here in maven-land
all our unit tests always pass ;-)
Thanks,
Pete
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>