Git Product home page Git Product logo

Comments (9)

sbrannen avatar sbrannen commented on June 24, 2024 1

No objection from me.

We just need to get "real" support for suites in the Platform...

from junit5-samples.

sbrannen avatar sbrannen commented on June 24, 2024

The junit5-maven-consumer already demonstrates how to execute JUnit Jupiter tests alongside JUnit Vintage tests.

What else did you have in mind?

from junit5-samples.

smoyer64 avatar smoyer64 commented on June 24, 2024

It does indeed have both vintage and jupiter tests. I was envisioning an example that had included a JUnit4 test suite built with @RunWith(JUnitPlatform.class) and @SelectPackages and @SelectClasses as needed but it does seem like a duplication of what's already in this module. Since these examples are intended to be run via Maven, I had also envisioned examples of how to run the tests from the CLI.

from junit5-samples.

sbrannen avatar sbrannen commented on June 24, 2024

from the CLI?

Isn't running mvn clean test the command line?

Or do you mean you want to see an example project that uses the ConsoleLauncher?

from junit5-samples.

sbrannen avatar sbrannen commented on June 24, 2024

As for including an example suite using @RunWith(JUnitPlatform.class), I think that's a good idea actually.

from junit5-samples.

smoyer64 avatar smoyer64 commented on June 24, 2024

Yes ... there were questions (issues) in the junit5 tracker that implied more information was needed on exactly how to run ConsoleLauncher.

from junit5-samples.

sbrannen avatar sbrannen commented on June 24, 2024

Perhaps you'd like to create an issue or PR to address the ConsoleLauncher... ?

from junit5-samples.

sbrannen avatar sbrannen commented on June 24, 2024

FYI: this is likely the issue you were alluding to: junit-team/junit5#155

from junit5-samples.

sormuras avatar sormuras commented on June 24, 2024

2+ years and most build tools and IDEs don't longer require the @RunWith(JUnitPlatform.class) mode, as they support the JUnit Platform natively.

About to close this issue. Objections?

from junit5-samples.

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.