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

Adding tests for predicates functions #598

Closed

Conversation

BurakCakan
Copy link
Contributor

[x] Wrote test for feature
I checked the CHANGELOG file but I couldn't see any example of writing addition of tests, so I didn't add it.

Changes proposed:
Tests are added for the functions of predicates.py file including check_iterable, not_containing and containing.

@coveralls
Copy link

Coverage Status

coverage: 93.455%. remained the same when pulling 317b20d on BurakCakan:feature/burak_predicates_tests into ec3ebcd on data-8:master.

Copy link
Member

@adnanhemani adnanhemani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests for these functions exist in the doc tests - https://github.com/data-8/datascience/blob/master/datascience/predicates.py#L17-L102

So there's no reason to add additional explicit tests here. Thanks for this anyways - please feel free to use our Coveralls to see where there might be more code that does not currently have a test - mostly Maps and Tables need the most help right now!

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.

3 participants