Grails 2.0 integration test pollution?

前端 未结 2 1575
感情败类
感情败类 2021-01-14 01:17

So i have a small integration test that houses 5 tests in total. Running that test exclusively results in all tests passed. However running my entire test suite results in 4

2条回答
  •  猫巷女王i
    2021-01-14 02:23

    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).

提交回复
热议问题