This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Provide complete support for writting / running / debugging junit tests in all project source directories. Currently, only source in the "test" source dirs defined for the project may be run/debuged as junit tests. keeping NB from breing used in a corporate project becuase NB mandated dir structure is not good w/ the coporate structure.
This restriction is imposed by structure of projects. Reassigned to "java/j2seproject". Maybe it should be assigned to "java/project", or perhaps "projects/code" - reassign as appropriate.
The j2seproject is right component. But I am not sure if we want to support this. It is a good practice to have tests separated from sources. The only thing that we may support is to allow to run (debug) an test which is under the source root (probably it was there before user made the netbeans project from the sources). But we don't want to support user in creating new unit test under the source roots.
the business requires some test cases under the source, vs source-test, dirs. Shouldn't is be suported in at least the free form nb project template?
*** Issue 135250 has been marked as a duplicate of this issue. ***
Why this issue is not solved yet? All the time, I used the Netbeans. But now I decide to give up Netbeans and use Eclipse. Because I'm taking over a project which all test codes are in source directories. Eclipse has a very good Junit test interface.