Open neoecos opened 9 years ago
I used GVM to install Grails 2.2.1 and runs smoothly
$ grails -version
Grails version: 2.2.1
$ grails test-app
| Compiling 3 source files
| Tests PASSED - view reports in /home/sortiz/dev/tpaga/contrib/restful-api/target/test-reports
You can't run grails test-app in the root of the project - all the test suites are actually in test/test-restful-api. That's a dedicated grails app that references it as an in-place plugin and has the test suites.
The app is still developed against grails 2.2.1, and the test project is configured for that. Changes in grails in 2.3.x and 2.4.x require some changes to the test project in order to run, but the test suites do run against 2.3.x and 2.4.x (we test against 2.2.1, and the latest 2.3.x and 2.4.x on each release).
The instructions running the tests for the plugin against 2.2.x, 2.3.x and 2.4.x are located in docs/README-TESTING.md.
In the BuildConfig.groovy, you might want to try putting grails.project.dependency.resolver = "maven"
This projects is not able to run within Grails 2.4.3
I cloned the repo, ran grails set-grails-version 2.4.3 and then ran grails test-app