You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the ways we use nbval is to test legacy notebooks in new environments to see if there are any breaking changed to notebooks arising from environment updates.
It would be really handy to be able to generate nbval reports for pre-run versions of the same notebooks already executed in different environments.
For example:
compare two notebooks: py.test --nbval-diffnb my_notebook_in env1.ipynb my_notebook_in env2.ipynb — use env1 notebook as reference and text env2 notebook outpurs against it;
compare notebooks with common names in two directories: py.test --nbval-diffpath env1_nb_path/ env2_nb_path/ — use notebooks in env1 path as reference values, and text similarly notebbooks from env2 path.
The text was updated successfully, but these errors were encountered:
psychemedia
changed the title
Testing across already pre-run notebooks
Testing differences across two pre-run notebooks / paths
Jun 26, 2024
One of the ways we use
nbval
is to test legacy notebooks in new environments to see if there are any breaking changed to notebooks arising from environment updates.It would be really handy to be able to generate
nbval
reports for pre-run versions of the same notebooks already executed in different environments.For example:
py.test --nbval-diffnb my_notebook_in env1.ipynb my_notebook_in env2.ipynb
— use env1 notebook as reference and text env2 notebook outpurs against it;py.test --nbval-diffpath env1_nb_path/ env2_nb_path/
— use notebooks in env1 path as reference values, and text similarly notebbooks from env2 path.The text was updated successfully, but these errors were encountered: