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 143275 - Running a single test does not compile the other classes
Summary: Running a single test does not compile the other classes
Status: RESOLVED DUPLICATE of bug 134549
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: junit-issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-08 09:23 UTC by psecheresse
Modified: 2008-08-09 04:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description psecheresse 2008-08-08 09:23:19 UTC
When using unit test class in the Test and running only this test class, the other modified classes in the test sources
are not compiled.
For example, I have a class named TestHelper and a unit test class TestMe. These two classes are in the Test packages.
If I right click the TestMe class and select 'run file', the unit test is compiled and run, but the TestHelper is not
recompiled if modified. Worst, there is no way to compile the TestHelper class.
Comment 1 Peter Pis 2008-08-08 09:26:11 UTC
Reassigning to junit for evaluation.
Comment 2 Peter Pis 2008-08-08 09:47:58 UTC

*** This issue has been marked as a duplicate of 134549 ***
Comment 3 psecheresse 2008-08-09 04:11:25 UTC
Thank for the F9 compile, it solve partially the issue, but I don't think it's very convenient to press systematically
F9 to ensure the compilation of modified classes.
Fortunately, I tried the last build of NB 6.5, it is fixed, great!