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

Summary: Running a single test does not compile the other classes
Product: java Reporter: psecheresse <psecheresse>
Component: JUnitAssignee: junit-issues@java <junit-issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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!