Comments (5)
Looks very good to me!
java -jar junit-platform-console-standalone-1.11.0-20240516.144734-223.jar --version
JUnit Platform Console Launcher 1.11.0-SNAPSHOT
JVM: 23-ea (Oracle Corporation OpenJDK 64-Bit Server VM 23-ea+21-1723)
OS: Windows 11 10.0 amd64
from junit5.
@sormuras, can you please create a new issue to address that in 5.11 M3?
from junit5.
There's support for version options in Picocli: https://picocli.info/#_version_help
from junit5.
Related option already in place: --list-engines
from junit5.
However, running junit
on the module path does not look so good to me.
org.junit.platform.console/[email protected] --version
JUnit Platform Console Launcher null
JVM: 22.0.1 (Oracle Corporation OpenJDK 64-Bit Server VM 22.0.1+8-16)
OS: Windows 11 10.0 amd64
This
returns
null
.
We should fist try a ModuleVersionProvider
on Java 9+, like we do here:
And resort to a non-null fallback value.
from junit5.
Related Issues (20)
- `MalformedParametersException` on JDK 8 for synthetic bridge methods in Jupiter classes (5.11.0-M1) HOT 5
- `@CsvSource` drops backslash character from input HOT 3
- Improve `parallel.mode` chart in User Guide HOT 1
- Introduce `isClosed()` in `NamespacedHierarchicalStore`
- `InvocationInterceptor` is not invoked for a parameterized test HOT 2
- Running tests where the test suite has a module descriptor HOT 11
- `ClassOrderer.Random` and `MethodOrderer.Random` do not use same default seed HOT 3
- Introduce named argument set support for `@ParameterizedTest` HOT 17
- `NullPointerException` when deserializing `TestIdentifier`
- 7 files found with path `META-INF/LICENSE.md` HOT 2
- Support control characters in `@CsvSource` and `@CsvFileSource` HOT 7
- Version reported as `null` on module path
- `junit.jupiter.conditions.deactivate` is not behaving as expected. HOT 1
- Support cartesian product for multiple `@EnumSource` annotations for `@ParameterizedTest` HOT 2
- `@AfterAll` from superclasses executed after `@AfterAll` in subclasses HOT 2
- Console Launcher should let you specify a module path to scan HOT 2
- Backport selected bug fixes to 5.10.3 HOT 4
- Introduce `rootCause()` condition for use with the `EngineTestKit`
- Add static factory methods that return `Supplier<String>` to format test errors HOT 1
- Document that `Lifecycle.PER_CLASS` implies `@Execution(SAME_THREAD)` in the JavaDoc 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.