test-app unit: or integration: works, but test-app do not
We have a problem in our project.
When we do 'grails test-app unit': or 'integration:' everything goes right, but when we do 'grails test-app' it fails with a MethodMissingException for some domain classes at integration tests, unit tests passes.
Looking for a solution we discover this case:
We delete all unit tests unless one, with a domain class mocked.
In this unique unit test, If we delete the @Mock and only make "assert 1==1" everything goes right, and when we returned to use @Mock and use the domain class everything failed.