v0.13.0
Usability improvements:
- Use the same random module name during a notebook session to allow
--ffand
similar options to work correctly - Allow to specify
defopts="auto". It only adds the current notebook to the
PyTest arguments, if no other node id that referencing the notebook is
specified. This way specifying node ids manually should work as expected
without any configuration change in most cases - Add shorthands to generate node ids for tests using
{test_example}as an
argument will expand to{MODULE}::test_example - Allow to override
addopts,defopts,run_in_thread,raise_on_error,
display_columnsinipytest.run - Allow to specify all keyword arguments of
ipytest.runalso in%%ipytestby
including an initial comment of the form# ipytest: arg1=value1, arg2=value - Rename
clean_teststocleanand deprecateclean_tests. The optional
scope argument now expects a module instead of a dictionary - Add
ipytest.force_reload, as a simpler to use alternative to the current
reloadfunction
Bug fixes:
- Fix bug for
--deselect {MODULE}::test - Disable variable expansion in magics to prevent issues with the
{node_id}
shorthands in notebooks
Development changes:
- Use markdown for module documentation and doc strings
- Migrated to
pyproject.toml - Updated documentation