run single integration test with gradle

后端 未结 3 1779
情歌与酒
情歌与酒 2020-12-14 08:39

I\'m trying to run a single integration tests using gradle\'s -Dtest.single flag. I have added another source set, src/integrationTest and put the

3条回答
  •  一整个雨季
    2020-12-14 09:14

    Just incase anyone is coming here looking for answers. This has been removed in gradle 5.0. Look for test.single in https://docs.gradle.org/current/userguide/upgrading_version_4.html

    If you still wish to use a command line option in this style you should be able to use the --tests commandline param

    $ ./gradlew integrationTest --tests=MyTest
    

提交回复
热议问题