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.
Summary: | single test case depends on entire "src" folder to compile | ||
---|---|---|---|
Product: | java | Reporter: | wqtnetbeans <wqtnetbeans> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | VERIFIED DUPLICATE | ||
Severity: | blocker | CC: | junit-issues |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
wqtnetbeans
2005-07-17 05:02:48 UTC
Running tests is determined by the project type - reassigned to module "web". The same thing hapens with Web Project and all Java projects too -> reassigning to Java for evaluation. BTW: Compiled sources are part of Test Compile class path. From this point of view I think that it is intentional to compile all sources even for running 1 test case. You are right that compilation of the single unit test may require only a subset of sources, but the subset is a transitive closure of class dependency. The way how to calculate such a subset is to use javamake and build and maintain a dependency database. There is already an enhancement about it (the dependency of test compilation unit on the source compilation unit is the same as the dependency of 2 projects). http://www.netbeans.org/issues/show_bug.cgi?id=36033 *** This issue has been marked as a duplicate of 36033 *** verified duplicate |