We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following snippet of test code yields a correctly failing test in spek version 2.02 but yields an incorrectly passing test in spek version 2.03
2.02
2.03
package spekbug.deleteme import org.spekframework.spek2.Spek import org.spekframework.spek2.style.specification.describe object SpekTest: Spek({ describe("spek") { it("has a bug") { assert(false) }} })
Here is the gradle build file, setting the spek version on the first line if it comes in handy:
val spekVersion = "2.0.3" plugins { kotlin("jvm") version "1.3.31" } repositories { jcenter() } dependencies { implementation(kotlin("stdlib-jdk8")) testImplementation("org.spekframework.spek2:spek-dsl-jvm:${spekVersion}") testRuntimeOnly("org.spekframework.spek2:spek-runner-junit5:${spekVersion}") } tasks.test { testLogging { events("PASSED", "FAILED") } useJUnitPlatform { includeEngines("spek2") } }
👍 Running with val spekVersion=2.0.2 =>
val spekVersion=2.0.2
> Task :test FAILED spekbug.deleteme.SpekTest > has a bug FAILED java.lang.AssertionError at LibraryTest.kt:6
👎 Running with val spekVersion=2.0.3 =>
val spekVersion=2.0.3
> Task :test spekbug.deleteme.SpekTest > has a bug PASSED
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The following snippet of test code yields a correctly failing test in spek version
2.02
but yields an incorrectly passing test in spek version2.03
Here is the gradle build file, setting the spek version on the first line if it comes in handy:
👍 Running with
val spekVersion=2.0.2
=>👎 Running with
val spekVersion=2.0.3
=>The text was updated successfully, but these errors were encountered: