snowe
04/26/2017, 2:37 PMhhariri
hhariri
hhariri
snowe
04/27/2017, 3:17 PMsnowe
04/27/2017, 3:17 PM[INFO] --- maven-surefire-plugin:2.19:test (default-test) @ kotlin-spek-maven ---
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.835 s
[INFO] Finished at: 2017-04-27T09:16:35-06:00
[INFO] Final Memory: 31M/391M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test (default-test) on project kotlin-spek-maven: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.19:test failed: There was an error in the forked process
[ERROR] java.lang.AbstractMethodError: Method org/jetbrains/spek/engine/Scope$Group.getType()Lorg/junit/platform/engine/TestDescriptor$Type; is abstract
[ERROR] at org.jetbrains.spek.engine.Scope$Group.getType(Scope.kt)
[ERROR] at org.junit.platform.launcher.TestIdentifier.from(TestIdentifier.java:60)
[ERROR] at org.junit.platform.launcher.TestPlan.lambda$from$0(TestPlan.java:78)
[ERROR] at org.junit.platform.engine.TestDescriptor.accept(TestDescriptor.java:245)
[ERROR] at org.junit.platform.engine.TestDescriptor.lambda$accept$0(TestDescriptor.java:247)
[ERROR] at java.lang.Iterable.forEach(Iterable.java:75)
[ERROR] at org.junit.platform.engine.TestDescriptor.accept(TestDescriptor.java:247)
[ERROR] at org.junit.platform.launcher.TestPlan.lambda$from$1(TestPlan.java:79)
[ERROR] at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:600)
[ERROR] at org.junit.platform.launcher.TestPlan.from(TestPlan.java:79)
[ERROR] at org.junit.platform.launcher.core.DefaultLauncher.discover(DefaultLauncher.java:79)
[ERROR] at org.junit.platform.surefire.provider.TestPlanScannerFilter.accept(TestPlanScannerFilter.java:52)
[ERROR] at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:98)
[ERROR] at org.junit.platform.surefire.provider.JUnitPlatformProvider.scanClasspath(JUnitPlatformProvider.java:100)
[ERROR] at org.junit.platform.surefire.provider.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:92)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:286)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:240)
[ERROR] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
[ERROR] -> [Help 1]
snowe
04/27/2017, 3:50 PMINFO: Discovered TestEngines with IDs: [spek, junit-jupiter]
Running sample.SampleSpecs
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec <<< FAILURE! - in sample.SampleSpecs
it should fail Time elapsed: 0.007 sec <<< FAILURE!
null
JUnit Jupiter Time elapsed: 0.012 sec <<< FAILURE!
null
also, we don't have jupiter in our project, we're using junit 4. will we be able to use jupiter just for the spek tests?snowe
04/27/2017, 6:13 PMsnowe
04/27/2017, 6:14 PM