Code Monkey home page Code Monkey logo

Comments (5)

jstemmer avatar jstemmer commented on May 27, 2024

Unfortunately go-junit-report doesn't yet support any kind of non-standard test outputs, but it would be great if it did. Are you're willing to add support for testify? I'd be more than happy to discuss details and review code.

from go-junit-report.

sysradium avatar sysradium commented on May 27, 2024

Faced the same issue. Will think about the solution.

from go-junit-report.

jakubbujny avatar jakubbujny commented on May 27, 2024

hello @jstemmer - I'm thinking about implementing this feature just for fun so I have question to you: do you think that we can treat test suite just like Package struct used in your code ? As I can see packages are generating output in separate testsuite blocks (like in 06-report.xml in tests)

from go-junit-report.

jstemmer avatar jstemmer commented on May 27, 2024

Do you mean that you want to create a separate package for every testsuite in the testify output? That could probably work. I haven't used testify myself however, so I'm not sure how easy it is to differentiate test suites from individual tests.

It's probably a good idea to first collect a few different testify outputs and think about how that would be represented in the resulting XML.

from go-junit-report.

jstemmer avatar jstemmer commented on May 27, 2024

This appears to be fixed in v2, feel free to reopen if it's not the case.

from go-junit-report.

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.