Skip to content
New issue

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

Expose a function (scalacheck.Test.Result => scalatest.Assertion) #40

Open
Daenyth opened this issue Oct 19, 2020 · 0 comments
Open

Expose a function (scalacheck.Test.Result => scalatest.Assertion) #40

Daenyth opened this issue Oct 19, 2020 · 0 comments

Comments

@Daenyth
Copy link

Daenyth commented Oct 19, 2020

I'm implementing support for scalatest with scalacheck-effect and currently I need to copy/paste a lot of logic from CheckerAsserting#Check, in addition to placing my code in the org.scalatestplus.scalacheck package to get access to private[scalacheck] methods.

I could avoid all this if CheckerAsserting exposed a public method with the signature scalacheck.Test.Result => scalatest.Assertion

(for reference, here's my impl https://gist.github.com/Daenyth/67575575b5c1acc1d6ea100aae05b3a9#file-scalacheckeffectassertions-scala)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant