Adding an additional test suite to Gradle

前端 未结 3 1467
不知归路
不知归路 2020-12-16 16:53

I am attempting to add Gradle (1.4) to an existing project that has multiple test suites. The standard unit test located in src/test/java ran successfully, but

3条回答
  •  心在旅途
    2020-12-16 17:13

    Another way:

    test {
        exclude '**/*IntegrationTest*'
        ...
    }
    
    task testIntegration(type: Test) {
        include '**/*IntegrationTest*'
        ...
    }
    

提交回复
热议问题