spek
spek copied to clipboard
A specification framework for Kotlin
When right clicking on a folder in IntelliJ without Spek plugin installed, JUnit plugin will display normal "Run tests in [folder name]" action. However, with Spek plugin installed, this action...
I am trying to use MockK in tests with Spek. Tests run just fine from command line but fail when I run them from the IDE (Android Studio). There is...
1. `spek2.execution.test.timeout` - replaces `SPEK2_TIMEOUT`. 2. `spek2.discovery.parallel.enabled` - controls whether discovery is done in parallel or not, by default it is sequential. 3. `spek2.execution.parallel.enabled` - controls whether execution is done...
Spek Gradle properties don't seem to be working for a Kotlin multiplatform project i.e: * `spek2.execution.test.timeout` * `spek2.discovery.parallel.enabled` * `spek2.execution.parallel.enabled` Additionally this vmOption `-DSPEK2_TIMEOUT=1` doesn't have any effect either. (Should...
If a test case fails the reports are not very descriptive. E.g. take: ``` class CalculatorSpec : Spek({ describe("Calculator") { val calculator by memoized { Calculator()} listOf( TestArg( 1, 2,...
Hi My use case was that I have some common behaviour in all of my views in the app, so I wanted to reuse an `it` that checks for the...
Nothing which bothers me, as I usually don't have the same text. Following an example: ``` object A: Spek({ describe("asdf"){ it("asdf"){ // shown as throw AssertionError("oh no... ") } it("asdf...
Tests are written using nested lambdas, and for most case, our tests are nested in many many levels, and get really really long, but Plugin doesn't parse these nested levels...
Investigate: https://github.com/spekframework/spek/issues/939#issuecomment-745089542