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.
Product Version: NetBeans IDE Dev (Build 200706180000) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Userdir: D:\ide\60daily\user Steps: 1. Create new NetBeans Plug-in Module. 2. Create new java class in it. Add some method for the class. 3. Select this class and invoke "Tools | Create JUnit Tests" action from popup menu. Choose "4.x" junit. Proceed ahead. Test class is generated and opened but it's not compilable. Seems that annotations are incorrect. ... @org.junit.BeforeClass (package junit.org doesn't exist) ...
Accepted.
This is a duplicate of issue #108686 - "JUnit 3 & 4 not found in module project tests (in editor, and during build)". *** This issue has been marked as a duplicate of 108686 ***
Verified as a Dup.