|
Hi Philippe, Thanks for the patch. However, we already have a test for this and the test is passing for us (the test can be found in CVS, in src/plugin-test/subproject2). As you can see the subproject2 project has not unit tests. The dshboard is correctly generated with a "-" as the junit passrate. Could you have a look and tell us what's different in your case? Thanks I ran across the same problem. The reason subproject2 puts in a dash instead of encountering divide by zero is that subproject2 does not have a src/test directory, therefore no TESTS-TestSuites.xml is generated. This means the aggregator logic never tries to look at the number of tests, therefore it never gets to the division. I created a separate test subproject with an empty src/test that duplicates the situation, along with verifications in maven.xml, to verify this behavior. I can post these patches if you'd like. Hi guys, 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. <pre> </pre> best regards, Kaloyan Applied. Thanks and sorry for the long time it has taken me to apply it... Should be closed for a long long time ago |
|||||||||||||||||||||||||||||||||||||||||
Patch