Comments (9)
No objection from me.
We just need to get "real" support for suites in the Platform...
from junit5-samples.
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.
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.
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.
As for including an example suite using @RunWith(JUnitPlatform.class)
, I think that's a good idea actually.
from junit5-samples.
Yes ... there were questions (issues) in the junit5 tracker that implied more information was needed on exactly how to run ConsoleLauncher.
from junit5-samples.
Perhaps you'd like to create an issue or PR to address the ConsoleLauncher
... ?
from junit5-samples.
FYI: this is likely the issue you were alluding to: junit-team/junit5#155
from junit5-samples.
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)
- Consider moving to a public domain licence HOT 5
- Please cite best practice for not excluding maven-wrapper.jar HOT 4
- Use Apache Ivy in Ant examples
- Upgradle to 6.0.1 HOT 1
- Help | Is there any way I can add @Tags dynamically from Test Data HOT 1
- Use HTTPS
- Add Android integration test project HOT 1
- Issue with JUnit after finishing Level 10 HOT 1
- build.gradle.kts and tag expressions HOT 2
- How to use TestPipeline HOT 3
- 5.7.1 breaks Bazel sample HOT 13
- DisplayName tag not working properly in junit5-jupiter-starter-maven example HOT 4
- Add module-info.java to have an example that works with Jigsaw too. HOT 1
- Add `junit5-jupiter-starter-graalvm-native` sample HOT 5
- Build broken when using kotlin 1.7.21 HOT 4
- Update used GitHub Actions HOT 2
- Bazel starter issues a deprecation warning HOT 4
- junit5-jupiter-starter-gradle @ParameterizedTest name not displaying HOT 2
- Groovy HOT 2
- Intellij IDE shows 'no name' for a kotlin-bazel project 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 junit5-samples.