Run JUnit test in IntelliJ IDEA 14 without choosing configuration type

后端 未结 3 1032
北海茫月
北海茫月 2021-02-05 06:01

In IntelliJ IDEA 14 with Gradle plugin I would like to run JUnit test without being asked about configuration type. Problem occurs when I run test for the first time - there is

3条回答
  •  清酒与你
    2021-02-05 06:34

    You can get rid of this annoying by adding

    idea.gradle.prefer.idea_test_runner=true
    

    to idea.properties file located in the bin directory of the IntelliJ IDEA installation. Then restart IDEA and enjoy.

提交回复
热议问题