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

Tests for existence_check in tools.py #469

Merged
merged 1 commit into from Apr 13, 2016

Conversation

joshmgrant
Copy link
Contributor

I've written a (basic!) test class for the tools.existence_check() function. As this function is pretty widely used all over proselint, I thought having a test harness for it would help any future refactoring or bug fixing.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 15.13% when pulling a147bd0 on joshmgrant:tools_existence_test_pr into 925812d on amperser:master.

@suchow
Copy link
Member

suchow commented Apr 13, 2016

Nice, thanks for this. Can you squash these commits together? Otherwise, it looks ready to merge.

@joshmgrant
Copy link
Contributor Author

@suchow Ok, I can squash them together once the current CI checks have completed

updated docstrings

added final newline based on pep checks

updates to docstring based on pep257

updates to docstring based on pep8
@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) to 15.219% when pulling ef6107c on joshmgrant:tools_existence_test_pr into 925812d on amperser:master.

@suchow suchow merged commit e8dfe26 into amperser:master Apr 13, 2016
@suchow
Copy link
Member

suchow commented Apr 13, 2016

@joshmgrant Our test coverage is only 15% — lot's of room for improvement. I saw your blog and that you're knowledgeable about testing software. I'd be interested to hear your thoughts and suggestions about improving our testing of proselint.

@joshmgrant
Copy link
Contributor Author

joshmgrant commented Apr 15, 2016

@suchow ow Thanks for reading my stuff! I'd love to give some suggestions for testing. I'll have a think and we can discuss further :)

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

Successfully merging this pull request may close these issues.

None yet

3 participants