-
Notifications
You must be signed in to change notification settings - Fork 85
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
Investigate use of testbook for testing Jupyter notebooks #925
Comments
Hi @matthewfeickert, thanks for the mention! We would be more than excited to see testbook be used by neos or any other repo. If you'd like, I could try writing some of the tests using testbook for any notebook that you can point out - win win situation 😄 Thanks again! cc @MSeal |
@rohitsanj fantastic! Thanks for the incredibly generous offer. I'll first describe how we use If you think this makes sense, maybe a good place to start is our simplest example notebook: |
Btw for context, |
Yeah, at the moment we're more just running the notebooks through to make sure the public APIs don't break and checking a few values with |
At Netflix we reused our scheduler in a dedicated deployment to parallelize out all the papermill integration tests, which helped with integration test wall time substantially. Unfortunately GitHub actions doesn't have higher core options yet: https://github.community/t/higher-cpu-count-virtual-environments-planned/16338 so you do get stuck with the mostly serial execution times. |
Description
At SciPy 2020 @rohitsanj gave a (very good) lightning talk on nteract's
testbook
which is used for unit testing Jupyter Notebooks. Given that Carol Willing mentioned it is designed to be complimentary withpapermill
it might be worth seeing if it can be used in our testing of the example notebooks in CI.cc @phinate as
neos
uses lots of notebooks.The text was updated successfully, but these errors were encountered: