Grails 2.0 integration test pollution?

醉酒当歌 提交于 2019-12-01 06:51:36

I had a similar problem when moving from 1.3.7 to 2.0. The integration tests were ok when launched with

grails test-app --integration

but were failing when launched with

grails test-app

I fixed everything by converting unit tests to grails 2.0 test (using annotations).

My solution as to upgrade all the unit tests to grails 2.0 method of doing tests. When this was done, every test passed. So it seem's that unit tests somehow polluted integration tests. But only on certain hardware configurations.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!