Comments (7)
Do you get any kind of traceback or logging as to what was wrong with the junit xml?
from behave.
Yep, here it is:
Finished task 'Run tests'
26-Jun-2012 04:10:42 Starting task 'junit parser' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
26-Jun-2012 04:10:42 Parsing test results...
26-Jun-2012 04:10:43 Failed to parse test result file "TESTS-xxx.xml"
26-Jun-2012 04:10:43 Failed to parse test result file "TESTS-yyy.xml"
26-Jun-2012 04:10:43 Failed to parse test result file "TESTS-zzz.xml"
26-Jun-2012 04:10:43 Failing task since test cases were expected but none were found.
26-Jun-2012 04:10:43 Finished task 'junit parser'
from behave.
Is is still an issue?
I provided a XMLSchema file now that allows to validate the JUnit XML output against the schema file.
The XML schema is based on Hudson/Jenkins JUnit-4.xsd.
from behave.
No response after grace period. Therefore, I assume this is no longer an issue.
from behave.
I'm running the latest version of behave and this is still an issue.
What do we need to further debugging?
Can we reopen the bug report?
from behave.
- Check your XML reports against the XML-Schema that behaves uses (for example with
xmllint
).
https://github.com/behave/behave/blob/master/etc/junit.xml/behave_junit.xsd
=> If you get invalid XML reports, I will fix it. But currently I am not aware of any problems. - If behave complies w/ its schema, then the problem is in
bamboo
(at least w/ my current information).
An example of the expected XML-Schema or an URL that is describes would be useful to better discuss the problem.
NOTES:
There exists no official JUnit XML schema.
The "junit4.xsd" file in same directory as above contains a hyperlink where it was retrieved from (Jenkins).
The "behave_junit.xsd" contains just minor changes.
from behave.
No answer => Close it again.
Can be reopened when more details are known.
Check for example if bamboo is trying to access information from the the testcase.@classname and tries to access the class, because @classname normally contains words with whitespace and cannot be used as real class name, etc.
from behave.
Related Issues (20)
- scenario_autoretry does not reset runner.hook_failures HOT 3
- Adding pytest style custom markers to Behave code ? HOT 7
- last log to stdout during step is lost due to ANSI color escaping HOT 6
- When will the latest version support Tag-Expressions-V2 be released? HOT 1
- Illegal hardware instruction python M1 HOT 3
- How to disable the default cleanup after scenario? HOT 1
- How to get Failed step/scenario logs in Environment file? HOT 3
- When the version of behave is v1.2.7.dev5, an error will appear when running using allure_behave as the report formatter. HOT 1
- Formatter for "Message" format NDJSON HOT 3
- Is it possible to include a prefix/ suffix to each scenario HOT 1
- Is there a way to render text just for context in the feature file? HOT 2
- Add "contains" dunder method for Row HOT 3
- Background step not working as expected with Scenario outline HOT 5
- Failure when building with Sphinx 7.2 HOT 4
- [feature] Add support for the "Rule" keyword HOT 1
- Config-files are not shown in verbose mode HOT 1
- step status do not permit "executing" HOT 5
- Why behave doesn't allow to define steps with duplicated descriptions? HOT 2
- ParseMatcher failing on steps with type annotations. HOT 2
- Docs: User step should be When HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from behave.