Skip to content

Test report is wrong when fork in Test := true #185

@tkawachi

Description

@tkawachi

Following test unexpectedly succeeds when fork in Test := true.

import org.scalacheck.Properties
object Spec1 extends Properties("Spec1") {
  property("prop 1") = false
  property("prop 2") = true
}
[info] ! Spec1.prop 1: Falsified after 0 passed tests.
[info] + Spec1.prop 2: OK, proved property.
[info] Passed: Total 0, Failed 0, Errors 0, Passed 0
[success] Total time: 4 s, completed Jul 21, 2015 10:45:18 PM

I confirmed this issue was introduced by 8204261 using git bisect.

Tested by sbt 0.13.8 and scalacheck 1.12.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions