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.
Steps to reproduce: 1) Create Maven application 2) Create Groovy JUnit test 3) Uncomment test method and put Assert.assertEquals(1, 1) to it --> Expected: Editor marks newly added line as wrong due to the missing import and show "Add missing import" hint --> Current: The line isn't marked with error badge
Groovy parser doesn't recognize error as it believe that the Assert is just a dynamic variable. Issue 226027 could be an inspiration how to resolve such kind of problems