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 91946 - Compile all tests when running "Build project"
Summary: Compile all tests when running "Build project"
Status: RESOLVED DUPLICATE of bug 58060
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: Jan Jancura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-06 11:23 UTC by tkellerer
Modified: 2009-07-07 21:05 UTC (History)
0 users

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 tkellerer 2007-01-06 11:23:20 UTC
Currently when doing a "Build project" (or "Build Main Project") the test
classes are not compiled. This is quite a problem, because you don't
automatically detect broken tests due to changes in the tested classes. 

NB should either compile the tests automatically when building the project
(after all they do belong to the project) or at least offer an option to
automatically build the tests
Comment 1 Peter Pis 2008-08-13 17:01:00 UTC

*** This issue has been marked as a duplicate of 134549 ***
Comment 2 tkellerer 2008-08-18 09:32:12 UTC
I don't think this is a duplicate of 134549

My wish would be to have an option in the project properties "Compile test when building project", so that when I do a
"Clean and build" my tests get recompiled automatically. 

Currently I need to manually select the test package folder and hit F9 (or run the tests)
Comment 3 Peter Pis 2008-08-18 10:19:14 UTC
Ok, reopening and reassigning to projects.
Comment 4 Milos Kleint 2008-10-14 14:17:22 UTC
ant projects issue, maven based projects can be configured to run or compile the tests easily.

Comment 5 Jesse Glick 2009-07-07 21:05:12 UTC

*** This issue has been marked as a duplicate of 58060 ***