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.
[ BUILD # : 201204100400 ] [ JDK VERSION : 1.7 ] - Create JUnit test from class - add System.out.println("test1()"); to test1() - Save All - Test File: test1() - add System.out.println("test2()"); to test2() - Test File: test1() - Test File: test1() test2()
I am sorry but I cannot reproduce in NetBeans IDE Dev (Build 20120430-f8ff9de2b8f8). I followed your steps but I get the correct result from the first time I invoke "Test File" on the unsaved test class.
IIRC, I used this project: http://netbeans.org/bugzilla/attachment.cgi?id=118324 Can you try again? If I see it again in later builds, I'll reopen the bug.