I'm using Spek plugin for Junit testing with Gradle build tool in the IDEA-2018.2 Here are dependency version for the above-
ext.junitPlatformVersion = '1.0.0'
ext.spekVersion = '1.1.5'
Dependency-
testRuntime "org.junit.platform:junit-platform-launcher:$junitPlatformVersion"
When running throw the ./gradlew test
it tests well without any errors but when running through the Spek Run
in that test file then it throws the following error-
java.lang.NoSuchMethodError: com.company.Class.method(Linput1; Linput2) Lio/reactivex/Single;
Due to the company's privacy didn't write actual class name and method. Would any help be appreciated?