jk
04/03/2017, 8:11 PMplatformVersion “${junitPlatformVersion}”
jdiaz
04/03/2017, 8:12 PMjk
04/03/2017, 8:12 PMjdiaz
04/03/2017, 8:13 PMjdiaz
04/03/2017, 8:13 PMjk
04/03/2017, 8:13 PMjdiaz
04/03/2017, 8:15 PMturansky
04/03/2017, 10:25 PMException in thread "main" java.lang.AbstractMethodError: Method org/jetbrains/spek/engine/Scope$Group.getType()Lorg/junit/platform/engine/TestDescriptor$Type; is abstract
turansky
04/03/2017, 10:28 PMException in thread "main" java.lang.AbstractMethodError: Method org/jetbrains/spek/engine/Scope$Group.getType()Lorg/junit/platform/engine/TestDescriptor$Type; is abstract
at org.jetbrains.spek.engine.Scope$Group.getType(Scope.kt)
at org.junit.platform.launcher.TestIdentifier.from(TestIdentifier.java:60)
at org.junit.platform.launcher.TestPlan.lambda$from$0(TestPlan.java:78)
at org.junit.platform.engine.TestDescriptor.accept(TestDescriptor.java:245)
at org.junit.platform.engine.TestDescriptor.lambda$accept$0(TestDescriptor.java:247)
at java.lang.Iterable.forEach(Iterable.java:75)
at org.junit.platform.engine.TestDescriptor.accept(TestDescriptor.java:247)
at org.junit.platform.launcher.TestPlan.lambda$from$1(TestPlan.java:79)
at java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:608)
at org.junit.platform.launcher.TestPlan.from(TestPlan.java:79)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:130)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:87)
at org.junit.platform.console.tasks.ConsoleTestExecutor.executeTests(ConsoleTestExecutor.java:65)
at org.junit.platform.console.tasks.ConsoleTestExecutor.lambda$execute$0(ConsoleTestExecutor.java:57)
at org.junit.platform.console.tasks.CustomContextClassLoaderExecutor.invoke(CustomContextClassLoaderExecutor.java:33)
at org.junit.platform.console.tasks.ConsoleTestExecutor.execute(ConsoleTestExecutor.java:57)
at org.junit.platform.console.ConsoleLauncher.executeTests(ConsoleLauncher.java:79)
at org.junit.platform.console.ConsoleLauncher.execute(ConsoleLauncher.java:69)
at org.junit.platform.console.ConsoleLauncher.main(ConsoleLauncher.java:41)
:junitPlatformTest FAILED
raniejade
04/04/2017, 3:48 AM1.0.0-M4
.turansky
04/04/2017, 6:53 PMartem_zin
04/04/2017, 7:06 PMraniejade
04/05/2017, 9:46 AM1.0.0-M3
.turansky
04/05/2017, 9:55 AMraniejade
04/05/2017, 9:56 AM5.0.0-M4
should be 5.0.0-M3
as well, or else it will still pull the M4 dependencyturansky
04/05/2017, 9:56 AMturansky
04/05/2017, 9:58 AMM3
and M4
versions don't work in my cases with spek 1.1.0
raniejade
04/05/2017, 9:58 AMturansky
04/05/2017, 10:52 AMM3
I will send later.turansky
04/05/2017, 9:17 PMplatformVersion "${junit_plugin_version}"
option on M3
all work as neededdmitry_reutov
04/11/2017, 11:53 AM@RunWith(PowerMockRunner::class)
@PowerMockRunnerDelegate(JUnitSpekRunner::class)
But after update of spek dependencies we should @RunWith(JUnitPlatform::class)
and there no way to use powermock annotations to prepare classes for tests.dmitry_reutov
04/11/2017, 11:54 AMraniejade
04/11/2017, 12:06 PM@PowerMockRunnerDelegate(JUnitPlatform::class)
?dmitry_reutov
04/11/2017, 12:10 PM@PrepareForTest(...)
within cannot be compiled and successfully completed. I’ve read about InstanceFactory
in https://github.com/JetBrains/spek/issues/115, but there no examples with using a custom classloaderraniejade
04/11/2017, 12:14 PMdmitry_reutov
04/11/2017, 12:26 PMdmitry_reutov
04/11/2017, 12:26 PM@RunWith(PowerMockRunner::class)
@PowerMockRunnerDelegate(JUnitPlatform::class)
with powermock annotationsraniejade
04/11/2017, 12:29 PMdmitry_reutov
04/11/2017, 12:30 PMrobfletcher
04/14/2017, 9:36 PM