raniejade / spek-idea-plugin

MIT License
48 stars 15 forks source link

Spek 1.1.1 is not working when using IDEA Spek 0.3.4 plugin #37

Open innobead opened 7 years ago

innobead commented 7 years ago

When using Spek 1.1.1 dependencies and the latest Spec IDEA plugin (0.3.4), fails to run test case with below error, but gradle test works.

dependencies { testCompile "org.jetbrains.spek:spek-api:1.1.1" testRuntime "org.jetbrains.spek:spek-junit-platform-engine:1.1.1" }

image

raniejade commented 7 years ago

@innobead Please add org.junit.platform:junit-platform-launcher:1.0.0-M4 to your test classpath for now.

innobead commented 7 years ago

testRuntime "org.junit.platform:junit-platform-launcher:1.0.0-M4" works, perfect. Thanks for the tip.

innobead commented 7 years ago

keep it for future fix in next release.

digizeph commented 7 years ago

Is there a Maven config example for fixing it?

raniejade commented 7 years ago

@digizeph https://github.com/spekframework/spek-maven-sample