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

properties testing #3

Open
djarecka opened this issue Aug 5, 2020 · 2 comments
Open

properties testing #3

djarecka opened this issue Aug 5, 2020 · 2 comments

Comments

@djarecka
Copy link

djarecka commented Aug 5, 2020

You might want to consider adding examples of properties testing with hyphothesis, an example can be here:
https://github.com/djarecka/pycontest/blob/master/solutions/test_hypothesis.py
https://djarecka.github.io/pycontest/presentation/#55

I'm happy to help wit it if you find it useful

@poldrack
Copy link
Owner

poldrack commented Aug 5, 2020 via email

@djarecka
Copy link
Author

djarecka commented Aug 5, 2020

that might be useful if you want to expand. Don't really know how much you want expand the tutorial, I've just saw it after @satra pointed me to it.

If you want to expand you might want to think about expanding the number of processes/function you want to include in the analysis. I believe it's not always trivial for people to figure out what is useful/worth testing. So I sometimes like talking about finding blocks of the code that are easy/possible to test. And later, how you can also try to test bigger pieces of the code even if you don't know the answer (properties testing, regression testing). But just a suggestion.

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

No branches or pull requests

2 participants