Azad Bolour
2014-05-16 17:38:51 UTC
Hi,
I have been unable to have grails test-app recognize .java tests. For
example, trying a trivial Junit4 test called SampleTest.java residing under
the grails integration directory, none of the following commands picks up
this test:
grails test-app Sample
grails test-app SampleTest
grails test-app integration: Sample
grails test-app integration: SampleTest
Similarly, trying to run the test from inside Intellij (via grails) results
in no tests being run. But I can run the test in Intellij if I choose the
default (not grails) test runner. And, of course, I have no issues running
.groovy tests via grails test-app.
Is there a way to have grails test-app pick up and run .java tests so that
the .java tests as well as .groovy tests can get access to grails-created
services?
I am running grails 2.3.2.
Many thanks.
Azad
--
View this message in context: http://grails.1312388.n4.nabble.com/java-tests-not-picked-up-by-grails-test-app-tp4656913.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I have been unable to have grails test-app recognize .java tests. For
example, trying a trivial Junit4 test called SampleTest.java residing under
the grails integration directory, none of the following commands picks up
this test:
grails test-app Sample
grails test-app SampleTest
grails test-app integration: Sample
grails test-app integration: SampleTest
Similarly, trying to run the test from inside Intellij (via grails) results
in no tests being run. But I can run the test in Intellij if I choose the
default (not grails) test runner. And, of course, I have no issues running
.groovy tests via grails test-app.
Is there a way to have grails test-app pick up and run .java tests so that
the .java tests as well as .groovy tests can get access to grails-created
services?
I am running grails 2.3.2.
Many thanks.
Azad
--
View this message in context: http://grails.1312388.n4.nabble.com/java-tests-not-picked-up-by-grails-test-app-tp4656913.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email