-
-
Notifications
You must be signed in to change notification settings - Fork 440
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--branch option not reported in cobertura #65
Comments
Can you provide me with version information for Hudson and the cobertura plugin? |
Original comment by djcoin (Bitbucket: djcoin, GitHub: djcoin) Sorry, i fill this issue much too quickly, here are some details: Hudson ver. 1.352 A relevant screenshot showing the issue and the coverage.xml file (that seems right!) generated are attached. Here you can see one conditional is properly tested and the other is not, we should then get 50 % coverage on conditionals, yet, it sticks to 0 percent, whatever test you may submit. Weirder, if you go one dir up, you can see that conditional are not detected (N/A), whereas they are set to 0 when browsing the right file. Thanks, Simon Thépot |
Original comment by zorgzorg2 (Bitbucket: zorgzorg2, GitHub: Unknown) Hi, I can confirm the bug, with hudson 1.359 and cobertura plugin 0.8.11. Martin |
Original comment by Devin Bayer (Bitbucket: akvadrako, GitHub: akvadrako) It looks like the issue is CoberturaCoverageParser.java requires some more attributes:
otherwise is just ignores the branch tag. |
Original comment by Anonymous Thanks for taking into account account my comments. |
Also see issue #81 with some more details. |
Issue #81 was marked as a duplicate of this issue. |
Fixed in <<changeset b1911a191a3b (bb)>>. |
Originally reported by djcoin (Bitbucket: djcoin, GitHub: djcoin)
It seems the --branch option does not behave properly with cobertura. It keeps saying 0 % for conditionnals. A quick look in the coverage.xml seems to have thos figures in. So maybe the Cobertura format has been updated, and is not correct now.
This has been stated using Hudson and the cobertura plugin.
The text was updated successfully, but these errors were encountered: