run single integration test with gradle

后端 未结 3 1780
情歌与酒
情歌与酒 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:31

    The correct syntax is:

    gradle testTaskName -DtestTaskName.single=...

    In this case:

    gradle integrationTest -DintegrationTest.single=...

提交回复
热议问题