1
0

More than 3 years have passed since last update.

Could not complete execution for Gradle Test Executor 12.が出てテストが実行出来なかったときの対応

Posted at

マルチモジュールでJUnit5のテストを実行した時に以下の例外で動かなかった時に

Caused by: org.junit.platform.commons.util.PreconditionViolationException: Cannot create Launcher without at least one TestEngine; consider adding an engine implementation JAR to the classpath

この辺の設定とかしてあるのに出たら

    testOptions {
        junitPlatform {
            filters {
                engines {
                    include 'spek2'
                }
            }
        }
    }

pluginの指定が漏れてた。

apply plugin: "de.mannodermaus.android-junit5"
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0