Pytest-ipynb2

Latest version: v0.5.0

Safety actively analyzes 722631 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.0

Fixed

- Integration with vscode Test Explorer [54][pr-54]

Changed

- CellPath now uses subscript format `path/to/notebook.ipynb[Celln]` [54][pr-54]

[pr-54]: https://github.com/MusicalNinjaDad/pytest-ipynb2/pull/54

0.4.0

Fixed

- Handle notebooks not in test rootdir [45][pr-45]
- Improved handling of lines using IPython magics and calls to ipytest [46][pr-46]

[pr-46]: https://github.com/MusicalNinjaDad/pytest-ipynb2/pull/46

[pr-45]: https://github.com/MusicalNinjaDad/pytest-ipynb2/pull/45

Changed

- Only issue warnings from cached ExampleDir on verbosity 3 [40][pr-40]

[pr-40]: https://github.com/MusicalNinjaDad/pytest-ipynb2/pull/40

0.3.0

Added

- Implemented assertion rewriting [36][pr-36]

Fixed

- Provide meaningful reports for failing test cases [36][pr-36]

Changed

- Simplified xfail_for interface to take testname as keyword and reason as value [36][pr-36]
- Consolidated, simplified tests [29][pr-29] & made them faster [31][pr-31]

[pr-29]: https://github.com/MusicalNinjaDad/pytest-ipynb2/pull/29
[pr-31]: https://github.com/MusicalNinjaDad/pytest-ipynb2/pull/31
[pr-36]: https://github.com/MusicalNinjaDad/pytest-ipynb2/pull/36

0.2.1

Changed

- Improved documentation
- Explicitly show test helpers are an internal concern
- Tidied up test assets

0.2.0

Added

- Test execution reporting in session log and short summary report: [21][pr-21] & [24][pr-24]

Changed

- `_parser.Notebook` API changed: added `.codecells` and `.testcells`, removed `get_codecells()`, `get_testcells()`, `.contents`

[pr-21]: https://github.com/MusicalNinjaDad/pytest-ipynb2/pull/21
[pr-24]: https://github.com/MusicalNinjaDad/pytest-ipynb2/pull/24

0.1.0

Added

- Pytest plugin collects jupyter notebooks and cells which use the `%%ipytest` magic
- Published documentation for `CollectionTree`.

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.