spek
spek copied to clipboard
A specification framework for Kotlin
To prevent tests to incorrectly succeed due to deterministic order it should be possible to randomize the execution of tests. It should however also be possible to run the tests...
JUnit 5.8 introduced `@Suite` classes and a new engine to execute them. Spek is currently incompatible with them because it does not use the `UniqueId` passed in to `TestEngine.discover` for...
Run 'Spek:testcasename' button does nothing with Android Studio Arctic Fox | 2020.3.1 Patch 3 Build #AI-203.7717.56.2031.7784292, built on October 1, 2021 it was working fine earlier
The setup code misses the values for the variables. This makes the example not directly usable in the project. I think providing sample values will be beneficiary for the readers...
I started getting this error message after an update from 2.0.15 -> 2.0.16, which is weird as I see that that the latest available version of spek-runtime [here](https://mvnrepository.com/artifact/org.spekframework.spek2/spek-runtime) is 2.0.0....
Using the latest spek version i.e is 2.0.16 which has JCenter removed and is published to maven is failing to build with the below issue: `Could not find spek:spek-runtime:2.0.16` This...
If you build a modular app (https://docs.gradle.org/current/userguide/java_library_plugin.html#sec:java_library_modular) then every library which is not at least an automatic module is a bit of a pain. You can workaround it with something...
I have a Spek test running successfully with `./gradlew test`, but it fails when running with the Spek Framework Android Studio plugin. For some reason the Spek plugin isn't picking...
We were writing test that references some android classes, custom views that extend from the Views class. ``` Stub! java.lang.RuntimeException: Stub! at android.view.View.(Unknown Source) at android.view.ViewGroup.(ViewGroup.java:89) at androidx.constraintlayout.widget.ConstraintLayout.(ConstraintLayout.java:580) at sg.com.sph.android.card.views.BaseView.(BaseView.kt:10)...
Upgrading to v2.0.16 leads to the error message below in Gradle when running in Java 8. Since v2.0.15 worked fine with Java 8, I think that this is a regression...