Coder Social home page Coder Social logo

Broken example? about python-junit-xml HOT 3 CLOSED

kyrus avatar kyrus commented on June 12, 2024
Broken example?

from python-junit-xml.

Comments (3)

laurentb avatar laurentb commented on June 12, 2024

Same example here, but with one less: https://pzolee.blogs.balabit.com/2012/11/jenkins-vs-junit-xml-format/
This one too: https://github.com/jenkinsci/email-ext-plugin/blob/master/src/test/resources/hudson/plugins/emailext/testreports/passing_test.xml

from python-junit-xml.

larrycai avatar larrycai commented on June 12, 2024

Yes, u r correct, the sample python-junit-xml/junit_xml/init.py is not
correct sample, it shall be 4, I guess he copied from your sample ;-)
https://github.com/jenkinsci/email-ext-plugin/blob/master/src/test/resources/hudson/plugins/emailext/testreports/passing_test.xml

BTW: I notice you have assert function for this, and I used to use "python
-O" to skip if I met those issues.

I will send pull request to this project.

rgs/larry

On Fri, Jun 21, 2013 at 8:00 AM, Laurent Bachelier <[email protected]

wrote:

Same example here, but with one less:
https://pzolee.blogs.balabit.com/2012/11/jenkins-vs-junit-xml-format/
This one too:
https://github.com/jenkinsci/email-ext-plugin/blob/master/src/test/resources/hudson/plugins/emailext/testreports/passing_test.xml


Reply to this email directly or view it on GitHubhttps://github.com//issues/7#issuecomment-19791510
.

True software development embraces consistent inconsistency.
blog: http://larrycaiyu.com/blog (en), http://larrycaiyu.com (chinese)

from python-junit-xml.

laurentb avatar laurentb commented on June 12, 2024

Actually, it did pass the assert, but only because of a bug :( When there were unknown elements (like system-out/system-err) the test was completely ignored. I have fixed it since laurentb/xunitparser@1ae88cf

from python-junit-xml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.