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

Switch to pytest-notebook for notebook testing #370

Open
astrofle opened this issue Sep 3, 2024 · 0 comments
Open

Switch to pytest-notebook for notebook testing #370

astrofle opened this issue Sep 3, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@astrofle
Copy link
Collaborator

astrofle commented Sep 3, 2024

pytest-notebook is a better option for notebook testing. It makes sure that the outputs remain the same. However, this same also means we have to write up the rules so that paths and other system dependent outputs are not tested. This can be configured using: https://pytest-notebook.readthedocs.io/en/latest/user_guide/tutorial_config.html#regex-pattern-replacement

@astrofle astrofle added the enhancement New feature or request label Sep 3, 2024
@vcatlett vcatlett self-assigned this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants