Scalacheck instances? #606
Replies: 3 comments 3 replies
-
This is indeed interesting for fs2-data, I will port it to my xml events. Thanks. |
Beta Was this translation helpful? Give feedback.
-
FYI I tried writing a ScalaCheck test suite in #110 a while back. It has some generators to support the tests that may be of interest to that project. It is written in the older Scala compiler code style, but it may be worth cribbing from. It wasn't merged because of it would have added a dependency for ScalaCheck to the project; albeit it would be just for the tests not the published artifact. |
Beta Was this translation helpful? Give feedback.
-
It's not perfect, but it's a start: https://github.com/typelevel/scalacheck-xml/releases/tag/v0.1.0 |
Beta Was this translation helpful? Give feedback.
-
I needed to test an XML parser and couldn't find any scalacheck instances, so I took matters into my own hands. These aren't specific to HTTP, so I don't think they belong in http4s in the long term. But there's no scalacheck dependency here, so this repo doesn't feel right either.
Is there any interest, perhaps as a low profile Typelevel project?
/cc @satabin, who might find them useful in fs2-data.
Beta Was this translation helpful? Give feedback.
All reactions