spek
spek copied to clipboard
A specification framework for Kotlin
In a Kotlin JVM project, the run/debug configuration configuration window does not have the three tabs at the top (_Configuration_, _Code Coverage_, _Logs_), only the basic configuration options are available....
I have a number of tests that require to be executed on a known thread (one that has an OpenGL context associated to it). Currently it doesn't seem possible to...
don't know when this happened, saw it in the reporting functionality of IDEA: ``` During querying provider Run line marker (class com.intellij.execution.lineMarker.RunLineMarkerProvider) java.lang.IllegalStateException: Required value was null. at org.spekframework.intellij.domain.ScopeDescriptorCache.fromClassOrObject(ScopeDescriptorCache.kt:38) at...
All I did is simple test: ```kotlin object Foo : Spek({ val data = listOf( listOf(2, 2, 4), listOf(2, 3, 5) ) for (row in data) { describe("${row[0]} + ${row[1]}")...
If have a simple parameterized test using a `for` loop around the `it`. The IntelliJ IDEA plugin does not seem to recognize this as a test and doesn't display the...
According to the [IntelliJ IDEA documentation](https://www.jetbrains.com/help/idea/test-runner-tab.html), the test runner tab should contain a "Toggle auto-test" button. Clicking this button automatically re-runs unit tests when the source code changes. I'm using...
Just printing here what intellij tells me: Spek-plugin version: 2.0.7-IJ2019.2 stacktrace: ``` com.intellij.psi.PsiInvalidElementAccessException: Element: class org.jetbrains.kotlin.psi.KtCallExpression #kotlin because: containing file is null invalidated at: see attachment at com.intellij.psi.impl.PsiElementBase.getProject(PsiElementBase.java:216) at com.intellij.execution.PsiLocation.(PsiLocation.java:36)...
I know Kotlin has different constraints, but subject and let are very valuable to remove boilerplate code. Just wanted to reference this as a potential feature. See: https://relishapp.com/rspec/rspec-core/v/3-9/docs/subject https://relishapp.com/rspec/rspec-core/v/3-9/docs/helper-methods/let-and-let
Currently code in 'beforeGroup' runs on the main thread, but code in 'it' after 2.0.3 version on DefaultDispatcher-worker's thread. For example this situstion causes unavailability to use Selenide framework in...
I've been trying out the Gherkin DSL, and just seen the docs update at #493. I love the idea of this structure but it does cause some issues with the...