dimsuz
08/02/2016, 5:10 PMorangy
dimsuz
08/02/2016, 10:19 PMjohn.shelley
08/03/2016, 9:44 PM1.0.25
but it complains that my kotlin version 1.0.3
differs from my test app (1.0.2
) so I assume spek isn’t up to date with kotlin?hhariri
hhariri
dimsuz
08/04/2016, 9:32 AMI triedI resolved this by explicitly specifying kotlin dependencies for test configuration, i.e.but it complains that my kotlin version1.0.25
differs from my test app (1.0.3
) so I assume spek isn’t up to date with kotlin?1.0.2
testCompile rootProject.ext.kotlinRuntime // 1.0.3 version
testCompile rootProject.ext.kotlinStdLib
(gradle build)
This way it correctly resolves ambiguous dependenciesartem_zin
08/04/2016, 9:38 AMforce
itartem_zin
08/04/2016, 9:38 AMartem_zin
08/04/2016, 9:49 AMxit/xon/etc
works in IDE but doesn’t work under Gradleartem_zin
08/04/2016, 9:49 AMx
tests…dimsuz
08/04/2016, 9:55 AMfit
which was your hint, btw. Didn't know about xit/xon
dimsuz
08/04/2016, 9:56 AMartem_zin
08/04/2016, 9:57 AMx
allows you ignore part of the Spek tree, like @Ignore
in JUnit. If it’s not hard, can you please check it?dimsuz
08/04/2016, 10:02 AMxit
test, all pass, while ./gradlew test
executes it and failsartem_zin
08/04/2016, 10:04 AMilya.chernikov
08/04/2016, 2:13 PMgradle test
leads to
java.lang.NoSuchMethodError: org.junit.platform.launcher.listeners.TestExecutionSummary.getTotalFailureCount()J
…
Are there any ways around it?artem_zin
08/04/2016, 2:40 PMorangy
orangy
artem_zin
08/04/2016, 2:58 PMbamboo
08/04/2016, 8:28 PMhhariri
hhariri
orangy
hhariri
hhariri
raniejade
08/04/2016, 11:58 PMartem_zin
08/08/2016, 10:06 AMRestarted Android Studio ~30 minutes ago and was only writing tests with Spek▾
sonica
08/10/2016, 6:46 PM