You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a follow up to scalatest/scalatest#251, ScalaCheckDrivenPropertyChecks isn't good for nested forAlls and is also missing features like forAllNoShrink.
It seems like Checkers is what I want anyway, to explicitly build up a Prop, then check it. But it currently doesn't work with normal scalatest assertions like
check {
forAll { a: Int=>
foo(a) shouldBe 42
}
}
This currently throws a compile-time error:
No implicit view available from org.scalatest.Assertion => org.scalacheck.Prop.
It would be nice to augment Checkers or provide a separate class to include support for normal scalatest assertions.
The text was updated successfully, but these errors were encountered:
brandon-leapyear
changed the title
Add forAllNoShrink to ScalaCheckDrivenPropertyChecks
Support scalatest assertions in Checkers
Sep 15, 2021
As a follow up to scalatest/scalatest#251,
ScalaCheckDrivenPropertyChecks
isn't good for nested forAlls and is also missing features like forAllNoShrink.It seems like
Checkers
is what I want anyway, to explicitly build up aProp
, then check it. But it currently doesn't work with normal scalatest assertions likeThis currently throws a compile-time error:
It would be nice to augment
Checkers
or provide a separate class to include support for normal scalatest assertions.The text was updated successfully, but these errors were encountered: