matthiasblaesing commented on issue #4089:
URL: https://github.com/apache/netbeans/issues/4089#issuecomment-1126729211
This works on NetBeans master with a correctly configured maven project. You
need to have failsafe configured for the project:
```xml
<project>
<build>
<plugins>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.22.1</version>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
```
The I can run my integration test method `testAnalysePDFFileWorking` on the
class `PDFCheckIT` by placing the cursor in it, open the context menu and
select "Run focused test method". Debugging also works.
The documentation of failsafe is pretty clear, that this is "the way" to use
it: https://maven.apache.org/surefire/maven-failsafe-plugin/usage.html
--
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