There is no new Groovy Unit Test built into NetBeans. And if I create one manually, I can't get it to run in NetBeans.
Is it not implemented, or is there something wrong with my installation?
There is no new Groovy Unit Test built into NetBeans. And if I create one manually, I can't get it to run in NetBeans.
Is it not implemented, or is there something wrong with my installation?
It should definitely be implemented had a quick Google and found this post NetBeans testing with Groovy which is quite old so you would have thought the kinks would have been worked out by now. However there are two outstanding bugs in netbeans for groovy testing 152937 and 151052.
I had the same problem. After I looked into it, it's fairly easy to add unit testing for groovy-testcases via a custom ant-target. No additional java code or anything needed. I wrote it up at my blog software is insane
Hope that helps. - Philip
If you build your project with Maven, Groovy test cases shall be automatically ran in NetBeans by the time you build. It's also possible to run the unit tests only (ALT+F6) and check the results in JUnit's panel.