You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2018/12/17 21:09:39 UTC
[GitHub] sormuras opened a new pull request #10: [WIP] Use
junit-platform-maven-plugin w/o isolating test runtime jars
sormuras opened a new pull request #10: [WIP] Use junit-platform-maven-plugin w/o isolating test runtime jars
URL: https://github.com/apache/maven-compiler-plugin/pull/10
# Overview
Launching the JUnit Platform "in-process" *without* isolating test runtime jars.
```xml
<plugin>
<groupId>de.sormuras</groupId>
<artifactId>junit-platform-maven-plugin</artifactId>
<version>0.811.2</version>
<extensions>true</extensions>
<configuration>
<isolate>false</isolate>
</configuration>
</plugin>
```
### Summary
```
Test run finished after 2820 ms
[ 2 containers found ]
[ 0 containers skipped ]
[ 2 containers started ]
[ 0 containers aborted ]
[ 2 containers successful ]
[ 0 containers failed ]
[ 12 tests found ]
[ 0 tests skipped ]
[ 12 tests started ]
[ 0 tests aborted ]
[ 12 tests successful ]
[ 0 tests failed ]
```
### Using `<isolate>true</isolate>`
...the jars are isolated as follows:
```
main
maven-plugin-annotations-3.5.2.jar
maven-plugin-api-3.0.jar
maven-model-3.0.jar
sisu-inject-plexus-1.4.2.jar
sisu-inject-bean-1.4.2.jar
sisu-guice-2.1.7-noaop.jar
maven-artifact-3.0.jar
plexus-utils-2.0.4.jar
maven-core-3.0.jar
maven-settings-3.0.jar
maven-settings-builder-3.0.jar
maven-repository-metadata-3.0.jar
maven-model-builder-3.0.jar
aether-impl-1.7.jar
aether-spi-1.7.jar
aether-api-1.7.jar
aether-util-1.7.jar
plexus-interpolation-1.14.jar
plexus-classworlds-2.2.3.jar
plexus-component-annotations-1.7.1.jar
plexus-sec-dispatcher-1.3.jar
plexus-cipher-1.4.jar
maven-shared-utils-3.2.1.jar
commons-io-2.5.jar
maven-shared-incremental-1.1.jar
plexus-java-0.9.10.jar
asm-6.2.jar
qdox-2.0-M9.jar
plexus-compiler-api-2.8.4.jar
plexus-compiler-manager-2.8.4.jar
test
test-classes
classes
maven-aether-provider-3.0.jar
plexus-compiler-javac-2.8.4.jar
maven-plugin-testing-harness-2.1.jar
plexus-archiver-2.2.jar
plexus-container-default-1.0-alpha-9-stable-1.jar
classworlds-1.1-alpha-2.jar
plexus-io-2.0.4.jar
maven-compat-3.0.jar
wagon-provider-api-1.0-beta-6.jar
mockito-core-1.9.5.jar
hamcrest-core-1.1.jar
objenesis-1.0.jar
junit-4.12.jar
launcher
junit-platform-launcher-1.3.2.jar
apiguardian-api-1.0.0.jar
junit-platform-engine-1.3.2.jar
junit-platform-commons-1.3.2.jar
opentest4j-1.1.1.jar
junit-vintage-engine-5.3.2.jar
hamcrest-core-1.3.jar
isolator
junit-platform-isolator-worker-1.0.0-M5.jar
junit-platform-isolator-1.0.0-M5.jar
```
...and **no tests** are found by the Vintage engine.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services