Honza-cz opened a new pull request, #4924:
URL: https://github.com/apache/netbeans/pull/4924
Netbeans are not able to run the test in extra test source folder added by
`build-helper-maven-plugin` maven plugin ...
`<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9.1</version>
<executions>
<execution>
<id>add-test-source</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/it/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>`
If I run the test by Ctrl+F6, netbeans is not able to replace
`packageClassName` by a test name
`cd /.../repository; JAVA_HOME=/.../jdk-19.0.1
/.../netbeans/java/maven/bin/mvn -Dtest=${packageClassName} surefire:test`
After fix:
`cd /...repository; JAVA_HOME=/.../jdk-19.0.1
/.../netbeans/java/maven/bin/mvn -Dtest=some.pkg.Test surefire:test`
The updated code is covered by UT.
This pull request is linked to my previous one which I decided to close due
to wrong fix.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists