frozenlib / test-strategy

Procedural macro to easily write higher-order strategies in proptest.
Apache License 2.0
44 stars 10 forks source link

Inclusion in proptest? #1

Closed Andlon closed 4 months ago

Andlon commented 3 years ago

Hi, I just came across this library, and, at least judging from the README, it looks amazing. Have you considered proposing to include this functionality in proptest proper? Assuming the maintainers of proptest would want this, it would make these macros more accessible to users, and it would prevent possible version incompatibilities.

frozenlib commented 3 years ago

I have thought about suggesting integration but stopped it because it seemed more interesting to add features without worrying about compatibility.

However, I would be happy if this feature could be used in proptest directly.

sorairolake commented 4 months ago

It seems that a procedural macro similar to #[proptest] was added in proptest-rs/proptest#316. Note that it is not yet published at this moment.

Andlon commented 4 months ago

Thanks for the heads-up @sorairolake! I'll close this issue.