Details
-
Improvement
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
8.2, 9.0, 10.0, 11.0
-
None
-
None
Description
Old issue https://netbeans.org/bugzilla/show_bug.cgi?id=231240
When we separate integration tests from unit tests in different folders as suggested here
We need build-helper-maven-plugin with the following configuration:
{{<execution>
<id>add-test-source</id>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>src/it/java</source>
<source>src/it/resources</source>
</sources>
</configuration>
</execution>
}}
Many IDEs support second test folder, NetBeans show it as Generated folder: "Generated Test Sources (java)"/ "Generated Test Sourced (resources)" nodes in the project tree.
And yes you cannot do any refactoring (Move/Copy/Refactoring hints) in classes below those nodes.