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

Port assertion tests from pyvows to preggy #15

Open
Zearin opened this issue Jan 6, 2014 · 0 comments
Open

Port assertion tests from pyvows to preggy #15

Zearin opened this issue Jan 6, 2014 · 0 comments
Milestone

Comments

@Zearin
Copy link
Collaborator

Zearin commented Jan 6, 2014

Motivation

I recently published version 0.9.1. With bugs. Because all the stupid !#(*%ing tests passed!

(I discovered the bug when I ran the tests for heynemann/pyvows using the 0.9.1 release of preggy.)


Preggy’s test coverage is good. That means the tests touch almost all of preggy’s code.

But preggy’s test quality is not-so-good. The tests may have visited almost all of preggy’s code, but it should have tested that code more rigorously. Otherwise, I wouldn’t have released 0.9.1 with the bug(s) in question. (Aside: bugs were related to to_be_an_error_with_message(), and the differences between str() and repr().)


So I’m going to try my best to bring over some of pyvows’s assertion-related tests to preggy. Hopefully that will provide a more trustworthy test suite for future releases. :)

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