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.

Bug 60615 - provide/allow junit test source in main project source src folders not just test src
Summary: provide/allow junit test source in main project source src folders not just t...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 135250 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-29 14:13 UTC by hanasaki
Modified: 2011-08-31 14:05 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hanasaki 2005-06-29 14:13:34 UTC
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.
Comment 1 Marian Petras 2005-08-12 12:58:46 UTC
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.
Comment 2 Tomas Zezula 2005-09-07 15:57:41 UTC
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. 
Comment 3 hanasaki 2005-10-23 02:37:35 UTC
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?
Comment 4 Alexei Mokeev 2009-10-19 10:28:45 UTC
*** Issue 135250 has been marked as a duplicate of this issue. ***
Comment 5 freeheron 2009-11-15 19:45:23 UTC
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.