Git Product home page Git Product logo

Comments (8)

benmccann avatar benmccann commented on August 15, 2024

@francisdb should this be closed now given that you said it was working for you now on #48?

from junit-interface.

francisdb avatar francisdb commented on August 15, 2024

@benmccann Maybe I did not make this clear enough, sorry about that. Test reports are working but I see the above issue in my report files and on jenkins. So the report is generated but contains these annoying dummy not a test lines causing the test count to be wrong...

from junit-interface.

benmccann avatar benmccann commented on August 15, 2024

Ok, thanks. I misunderstood then. Thanks for clarifying

from junit-interface.

francisdb avatar francisdb commented on August 15, 2024

Hmm, I think that this is a specs2 issue as I have this error even without running JUnit tests.
see the linked specs2 issue

from junit-interface.

dcsobral avatar dcsobral commented on August 15, 2024

I don't understand why this is closed. The linked Specs2 issue basically says "disable the Junit Interface, because that is broken". It is not Specs2 generating the files with "it is not a test", it's the JUnitXmlReportPlugin -- which is easily verified by disabling it.

Now, while that works for projects that ONLY contain Specs2 tests, or, I assume, projects that contain JUnit tests (I have no idea how ScalaTest fares here), projects containing both need to resort to awkward work-arounds so tha tthe JUnitXmlReportPlugin won't overwrite the files generated by Specs2.

from junit-interface.

francisdb avatar francisdb commented on August 15, 2024

Hmm, I was a bit to fast in my conclusion and we still have issues. I personally don't see who's fault this is... Is this JUnitXmlReportPlugin not supposed to be a universal solution for generating reports for any test framework?

from junit-interface.

dcsobral avatar dcsobral commented on August 15, 2024

I'm all for JUnitXmlReportPlugin being an universal solution -- in which case it shouldn't tag Specs2 tests as "It is not a test".

from junit-interface.

francisdb avatar francisdb commented on August 15, 2024

Closing this again as the issue is actually in specs2 not setting up the events correctly

etorreborre/specs2#283 (comment)

from junit-interface.

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.