raniejade
03/09/2020, 2:30 AM2.0.10
is out, the release just adds support for AS 3.6 and IJ 2020.1 (and a couple more fixes) More details here: https://github.com/spekframework/spek/releases/tag/2.0.10.raniejade
03/09/2020, 2:33 AM2.1.0
next, which means 2.0.10
will probably be the last patch release for the 2.0
line. 2.1.0
will be focused on adding truly multiplatform support. 2.x
branch already has support for running tests for KN (added by @charleskorn) - but it still lacks IDE support.raniejade
03/09/2020, 2:34 AM2.1.0
will include https://github.com/spekframework/spek/pull/835 - which integrates coroutines to spek (making it easier to run suspended functions).Ahmed Ibrahim
03/21/2020, 1:12 PMStanislav Sagajnov
03/28/2020, 3:46 PMAhmed Ibrahim
04/08/2020, 11:54 AMrunBlocking { assertion }
https://github.com/spekframework/spek/pull/835dnowak
04/22/2020, 11:03 PMmockkStatic
? I can’t make it work with Spek. In JUnit mockkStatic
works fine.snowe
05/02/2020, 4:32 AMArnab Datta
05/25/2020, 1:25 PM<dependency>
<groupId>org.spekframework.spek2</groupId>
<artifactId>spek-dsl-jvm</artifactId>
<version>${spek.version}</version>
<scope>test</scope>
<type>pom</type>
</dependency>
<!-- <https://mvnrepository.com/artifact/org.spekframework.spek2/spek-runner-junit5> -->
<dependency>
<groupId>org.spekframework.spek2</groupId>
<artifactId>spek-runner-junit5</artifactId>
<version>${spek.version}</version>
<scope>test</scope>
</dependency>
This results in none of my tests being run, as they aren’t found. What’s going on?andylamax
06/18/2020, 9:57 PMAditya
06/30/2020, 7:55 PMdnowak
07/01/2020, 9:51 AMelectrolobzik
07/01/2020, 5:16 PMelectrolobzik
07/01/2020, 5:17 PMelectrolobzik
07/01/2020, 5:18 PMelectrolobzik
07/02/2020, 8:58 AMBruno_
07/14/2020, 1:24 PMdescribe
and 5x it
) takes awfully long for syntax highlighting to kick in? anywhere between 10-20s
is it even related to spek or is it kotlin compiler issue?
I've tried searching this channel for solutions but haven't found anythingmatthew graf
07/14/2020, 10:30 PMrunBlocking
)
Then("event store should be empty") {
runBlocking {
// findAll is a suspending function
eventStore.findAll().shouldBeRight { it.shouldBeEmpty() }
}
}
Its not the biggest deal, although it does make some tests a bit more verbose. I see some talk about this in the channel history but wasn’t sure if this was still the cleanest way to do itAhmed Ibrahim
08/13/2020, 1:07 PMobject MyTestCase : Spek({})
vs
class MyTestCase : Spek({})
dnowak
11/27/2020, 10:55 AMShalom Halbert
12/13/2020, 7:14 PMrobstoll
02/07/2021, 7:21 PMrobstoll
02/07/2021, 7:24 PMraniejade
03/06/2021, 7:16 AMVitor Prado
03/29/2021, 2:35 PMcommonTest
? or should I create tests only on android/jvm test folders?robstoll
08/09/2021, 8:28 AMrobstoll
01/27/2022, 8:21 PMv79
06/10/2022, 6:40 AMDennis Schröder
10/20/2022, 9:36 AM@Tag("integration")
annotation and then run ./gradlew test -DexcludeTags="integration"
to run only all other tests.electrolobzik
12/20/2023, 7:11 PM