Can't run JUnit tests with gmaven-plus and Groovy

2020-12-21 Thread Alberto
Hi all, I'm setting up a Groovy project with JUnit tests, and when building with Maven I see the test class being found, but 0 tests reported. I tried several things, including creating a mirror project in Java to try to figure out the error. In Java the test case is run. In the pom file I'm

Re: [ANNOUNCE] Groovy 2.4.21, 2.5.14, and 3.0.7 Windows installers released

2020-12-21 Thread Mike M
A novice colleague had trouble installing Groovy in Windows following the instructions here: https://groovy-lang.org/install.html#_installation_on_windows Basically this section links to a non existing page. A link to bintray in this section would be helpful. The Apache Groovy programming

Re: Can't run JUnit tests with gmaven-plus and Groovy

2020-12-21 Thread Alberto
I managed to figure it out! The problem was twofold, first "def" doesn't seem to work. I needed "void". Also, the version of the surefire plugin had to be updated to 3.0.0-M5. After these changes, the tests are executed properly. :-) Cheers, Alberto Il giorno lun 21 dic 2020 alle ore 12:00