Opened 15 years ago
Closed 15 years ago
#562 closed defect (fixed)
Bitten fails with an internal error parsing py.test --junitxml output
Reported by: | Torsten Landschoff <torsten.landschoff@…> | Owned by: | hodgestar |
---|---|---|---|
Priority: | major | Milestone: | 0.6 |
Component: | Recipe commands | Version: | dev |
Keywords: | java:junit | Cc: | |
Operating System: | Linux |
Description
Dear Bitten team,
We are using (or actually still discussing to use) Bitten for continuous integration of a python project. That project is using py.test for its unit tests.
I tried to feed the output of the junitxml plugin into bitten. Unfortunately, this gives an internal error in Bitten if py.test fails to collect its tests.
This can happen if a module can not be loaded etc. and is indeed a test failure. However, I'd rather have it reported as such.
I created a patch to fix this issue and would be glad if it could be merged into bitten proper.
Another problem is that expected failures (xfail) are marked as genuine failures but displayed as skipped. I will have to look into that as well.
Greetings, Torsten
Attachments (1)
Change History (3)
Changed 15 years ago by Torsten Landschoff <torsten.landschoff@…>
comment:1 Changed 15 years ago by hodgestar
- Owner set to hodgestar
- Status changed from new to assigned
comment:2 Changed 15 years ago by hodgestar
- Resolution set to fixed
- Status changed from assigned to closed
Patch for py.test failure including unit test