pytest-notebook:pytest插件,用于回归测试和重新生成Jupyter Notebooks

时间:2024-02-25 01:21:39
【文件属性】:

文件名称:pytest-notebook:pytest插件,用于回归测试和重新生成Jupyter Notebooks

文件大小:3.28MB

文件格式:ZIP

更新时间:2024-02-25 01:21:39

python coverage jupyter notebook jupyter-notebook

pytest笔记本 插件,用于回归测试和重新生成 。 目的 该插件的目的是确保对python环境的更改(例如,更新软件包)不会影响笔记本的输出。 如果笔记本已更改,则此插件还可以重新生成笔记本,保存新的输出。 产品特点 识别,收集,执行(可选地输出)然后比较diff输入与输出 。 提供笔记本的清晰和彩色差异(使用 ) 重新生成发生故障的笔记本。 与和集成。 定义明确的API允许运行笔记本回归测试: 使用pytest测试集合架构。 作为pytest固定装置( nb_regression.check(filename) )。 使用pytest_notebook python包。


【文件预览】:
pytest-notebook-master
----MANIFEST.in(454B)
----codecov.yml(162B)
----.gitattributes(66B)
----.flake8(167B)
----.github()
--------workflows()
----pytest-notebook-screenshot.png(144KB)
----tox.ini(1KB)
----LICENSE(1KB)
----pytest_notebook()
--------notebook.py(10KB)
--------nb_regression.py(13KB)
--------utils.py(5KB)
--------post_processors.py(6KB)
--------execution.py(10KB)
--------__init__.py(94B)
--------diffing.py(6KB)
--------plugin.py(10KB)
--------resources()
--------example_nbs()
--------ipy_magic.py(6KB)
----setup.py(2KB)
----README.md(4KB)
----.pre-commit-config.yaml(820B)
----docs()
--------source()
--------Makefile(2KB)
----tests()
--------test_nb_diff.py(1KB)
--------test_nb_diff()
--------test_filter_diff()
--------test_ipy_magic.py(2KB)
--------test_postprocessors()
--------test_notebook.py(7KB)
--------test_nb_regression.py(3KB)
--------test_utils()
--------test_coalesce_streams.py(2KB)
--------test_plugin_fixture.py(8KB)
--------test_plugin_collector.py(2KB)
--------test_execution.py(2KB)
--------conftest.py(28B)
--------test_filter_diff.py(2KB)
--------raw_files()
--------test_utils.py(231B)
--------test_cell_diff.py(34KB)
----.readthedocs.yml(170B)
----.gitignore(2KB)

网友评论