[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17444004#comment-17444004 ] Tibor Digana commented on SUREFIRE-1854: [~adam11grafik] After the corona bad times, we are back. Please let us jump in to Java 1.8 and Maven 3.1 in this release. I hope we would be fast now! > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Assignee: Tibor Digana >Priority: Major > Labels: junit5 > Fix For: 3.0.0-M6 > > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17443832#comment-17443832 ] Adam commented on SUREFIRE-1854: Hi [~tibordigana] Do you know when we can expect new release of surefire plugin with this feature? :) BR, Adam > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Assignee: Tibor Digana >Priority: Major > Labels: junit5 > Fix For: 3.0.0-M6 > > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.20.1#820001)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17311529#comment-17311529 ] Tibor Digana commented on SUREFIRE-1854: Hi [~adam11grafik], First you have to create a Fork from Surefire to your personal repository in GitHub. Then you push your changes to your working repository. And then you create a Pull Request which I will see automatically in apache/maven-surefire. Please see this guide https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17311282#comment-17311282 ] Adam commented on SUREFIRE-1854: Hi [~tibordigana] Can you add me to contributors for surefire repository? Still I do not have privileges to push my branch with changes :) BR, Adam > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17303253#comment-17303253 ] Adam commented on SUREFIRE-1854: Hi [~tibordigana] Finally I started working on this task and have first solution :) but unfortunately I have problem to push my changes to repository from my branch. Error message is: Enter passphrase for key '/c/Users/Adam/.ssh/id_rsa': ERROR: Permission to apache/maven-surefire.git denied to adam11grafik. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. I can pull from master etc. but I can not push my new branch. Is it lack of write access to repository? BR, Adam > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17240570#comment-17240570 ] Adam commented on SUREFIRE-1854: Hi, I tried with different options: argLine, systemPropertyVariables, _junit_-_platform_._properties_ but nothing let me exclude junit engine for execution :/ What do you advice now: add new plugin parameters or add new properties in systemPropertyVariables? Base on junit documentation include/exclude engine is not one of systemPropertyVariables. BR, Adam > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17234408#comment-17234408 ] Tibor Digana commented on SUREFIRE-1854: Hi [~adam11grafik] I also expected the methods {{configurationParameter()}} and {{configurationParameters()}} to accept the option {{--include-engine}}. We should confirm (by a test) that this is not the way, and then we should create new parameters to Surefire plugin. We already use the {{configurationParameters()}} in the [JUnit5 provider|https://github.com/apache/maven-surefire/blob/master/surefire-providers/surefire-junit-platform/src/main/java/org/apache/maven/surefire/junitplatform/JUnitPlatformProvider.java#L197] but I am sceptic that this would help us. T > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17233494#comment-17233494 ] Adam commented on SUREFIRE-1854: Hi [~tibordigana], I analyzed this and need some advice here. To provide included/excluded engine should I add new parameters to Surefire plugin or should I reuse configurationParameters for JUnit? Base on JUnit documentation it looks that including/excluding engine is separated option, not one of configurationParameters. [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] [https://junit.org/junit5/docs/current/user-guide/#running-tests-config-params] Also this option can be repeated. So should I create new plugin parameters with multivalue option here? > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17231416#comment-17231416 ] Adam commented on SUREFIRE-1854: Ok, thank you. I will start working on this next week :) > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17231397#comment-17231397 ] Tibor Digana commented on SUREFIRE-1854: [~adam11grafik] It's quite easy, just open a new PR on [GitHub|http://github.com/apache/maven-surefire] and name the PR and final commit {{[SUREFIRE-1854] Support include/exclude junit test engine}}. My recommendation is to start with simple commits and I will guide you there with review. Finally, the CI should pass on GitHub and the PR should be squashed and rebased on master. The name of branch does not matter if it is named master. We develop in master yet. The module {{surefire-junit-platform}} has few tests classes and the provider is tested there. It's important that your build works locally before you start. So fork the project from GitHub and try to run these commands, you should get successful build with unit tests: {{mvn install -nsu -DskipTests}} {{mvn -nsu -f surefire-providers/surefire-junit-platform/pom.xml test}} or run the test suite in IDEA which is easier. The next step would be the ITs but let's leave it on the GH Worflows. Of course new unit tests must be written for your work with a coverage which does not go down. > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17231350#comment-17231350 ] Adam commented on SUREFIRE-1854: Thank yoy [~tibordigana] I am glad to support Surefire plugin :) Do you have some custom description of change process for maven plugins? I think that I can start working on this in next week. > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17227799#comment-17227799 ] Tibor Digana commented on SUREFIRE-1854: [~adam11grafik] I would be nice if you could contribute to the project. I think [LauncherDiscoveryRequest|https://junit.org/junit5/docs/current/api/org.junit.platform.launcher/org/junit/platform/launcher/LauncherDiscoveryRequest.html] should be used, the method getEngineFilters() should return the [EngineFilter|https://junit.org/junit5/docs/current/api/org.junit.platform.launcher/org/junit/platform/launcher/EngineFilter.html]. The Request can be built by the [builder|https://junit.org/junit5/docs/current/api/org.junit.platform.launcher/org/junit/platform/launcher/core/LauncherDiscoveryRequestBuilder.html] and we use the builder in our code (see the provider class in previous comment). So i think this can be implemented and a new configuration parameter should be exposed to the POM. > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17227797#comment-17227797 ] Tibor Digana commented on SUREFIRE-1854: [~adam11grafik] We do not use CLI. We use the JUnit 5 API, please see [the implementation of the provider|https://github.com/apache/maven-surefire/blob/master/surefire-providers/surefire-junit-platform/src/main/java/org/apache/maven/surefire/junitplatform/JUnitPlatformProvider.java]. So here should be done the change. Pls find the way how this feature can be configured via API. > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17226590#comment-17226590 ] Adam commented on SUREFIRE-1854: Ok, so I will describe this in another way. I created my custom junit5 test engine but when I am executing test in maven the junit platform run both engines: junit-jupiter and my custom engine. There is option to include/exclude engine via console launcher options: [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] but this is still not supported by maven-surefire-plugin as I know. Gradle support include/exclude engine but I have to use Maven. I found some workaround by using maven-antrun-plugin instead maven-surefire-plugin for using cucumber engine: https://github.com/cucumber/cucumber-jvm/tree/main/junit-platform-engine It looks that not only I could be a potencial customer of this feature :) Execution in maven surefire plugin does not support including and excluding engines. Groups and tags in junit are not related with including and excluding engines (this is something different). > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17218575#comment-17218575 ] Tibor Digana commented on SUREFIRE-1854: Their documenttaion says that jupiter is supported. You have another alternatives with Surefire configuration. 1. you can have two executions in the plugin. Read the Maven specification about plugins and *execution* sections in POM. 2. use the groups/tags Why you want them to be separated in one Maven module? Is it important? It is one test set. > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17218459#comment-17218459 ] Adam commented on SUREFIRE-1854: I checked this and junit jupiter does not support this via configuration parameters. It is supported only via junit console luncher options so I created ticket here that maybe someone will help me :) > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17218418#comment-17218418 ] Tibor Digana commented on SUREFIRE-1854: [~adam11grafik] I think these properties can be set like this, see https://maven.apache.org/surefire/maven-surefire-plugin/examples/junit-platform.html#Configuration_Parameters > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17217333#comment-17217333 ] Adam commented on SUREFIRE-1854: [~tibordigana] , this what you sent is inclusion and exclusion of tests, not test engines :) JUnit options: -e, --include-engine=ID Provide the ID of an engine to be included in the test run. This option can be repeated. -E, --exclude-engine=ID Provide the ID of an engine to be excluded from the test run. This option can be repeated. > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17217157#comment-17217157 ] Tibor Digana commented on SUREFIRE-1854: Can you write a test for this and show me what's going on? Here is the tutorial https://maven.apache.org/surefire/maven-surefire-plugin/examples/inclusion-exclusion.html > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17216594#comment-17216594 ] Adam commented on SUREFIRE-1854: I check whole documentation etc. but did not found anything... [~tibordigana], can you provide me where I can find information how to include/exclude engine by surefire plugin? > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-1854) Support include/exclude junit test engine
[ https://issues.apache.org/jira/browse/SUREFIRE-1854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17215847#comment-17215847 ] Tibor Digana commented on SUREFIRE-1854: We don't use CLI. We are calling the API. And the includes/excludes is supported in plugin config. Chceck it out. I do not know why you report this issue since we have the includes/excludes. > Support include/exclude junit test engine > - > > Key: SUREFIRE-1854 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1854 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Plugin >Affects Versions: 2.22.2 >Reporter: Adam >Priority: Major > > It could be very important for my project to support include/exclude junit > test engine by Maven Surefire Plugin. > Junit Console Launcher have existing support for this: > [https://junit.org/junit5/docs/current/user-guide/#running-tests-console-launcher-options] > Similar solution exists for Gradle: > https://junit.org/junit5/docs/current/user-guide/#running-tests-build-gradle -- This message was sent by Atlassian Jira (v8.3.4#803005)