Comments (3)
I've discarded the fat-jar idea for now. I tried using the shadow Gradle plugin to relocate jopt-simple. However, jopt-simple uses ResourceBundles
that are loaded from *.properties
files where keys are prefixed with class names. Those would need to be transformed to reflect the relocation as well.
Instead I've used Gradle's application plugin to publish a ZIP and TAR archives that contain shell/batch scripts and all of the dependencies.
In addition, I think we should add a command-line option to ConsoleRunner
that would allow to specify additional classpath entries and use a custom URLClassLoader
.
from junit5.
I think the ZIP/TAR option is a viable alternative to a fat jar for the short term.
Regarding the additional classpath entries and a custom URLClassLoader
, I would recommend you open separate issues to address those. If you do that, I think we could also go ahead and close this issue, since you've already made the switch to JOpt Simple.
from junit5.
Work on a custom URLClassLoader
continues in #50. In addition, I've started to write tests (to be continued in #49).
from junit5.
Related Issues (20)
- 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 3
- Introduce `assertSize()` in Jupiter assertions HOT 7
- Combine annotations `Source` annotations to create cartesian product HOT 2
- Introduce `@NullAndEmptyAndBlankSource` for use with parameterized tests HOT 4
- assertEquals for map comparison does not report diff correctly HOT 3
- Consider implementing assertEqualsAnyOrder(Collection, Collection) HOT 2
- Document that the `junit.platform.launcher.interceptors.enabled` configuration parameter must be passed as system property or via properties file
- TempDir on default file system HOT 3
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.