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

Add property testing where appropriate. #135

Open
3 tasks
aatxe opened this issue Apr 21, 2018 · 0 comments
Open
3 tasks

Add property testing where appropriate. #135

aatxe opened this issue Apr 21, 2018 · 0 comments

Comments

@aatxe
Copy link
Owner

aatxe commented Apr 21, 2018

In an effort to improve testing quality, I think it would be a good idea to incorporate some property testing. The most apparent inspiration for this to me was thinking a bit about the new format stripping trait that @freddyb contributed: In particular, it should definitely be the case that if is_formatting is false, strip_formatting should be a no-op. There are almost certainly other places where property testing could prove useful (probably most of them related to parsing). We should use proptest.

  • Survey for additional sites where property testing would be useful.
  • Proptest irc::proto::colors::FormattedStringExt.
  • Proptest irc::proto::prefix::Prefix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant