Skip to content

Releases: chmp/ipytest

v0.14.2

21 Apr 15:56
09b7ff6
Compare
Choose a tag to compare
  • Support collecting branch coverage in notebooks (e.g., via --cov--branch)
  • Add ipytest.autoconfig(coverage=True) to simplify using pytest-cov inside notebooks
  • Add experimental ipytest.cov.translate_cell_filenames() to simplify interpretation of collected coverage information

v0.14.1

16 Apr 19:05
c2f766d
Compare
Choose a tag to compare
  • Add a Coverage.py plugin (ipytest.cov) to support collecting coverage information in notebooks. See the Readme for usage notes.

v0.14.0

18 Feb 11:10
748d282
Compare
Choose a tag to compare

0.14.0

  • Removed support for Python 3.7 since reached its end of life
  • Updated the dev-requirements
  • Remove deprecated API (ipytest.clean_tests, %%pytest, %%pytest[clean])

v0.14.0b1

16 Jan 17:38
adaf0f7
Compare
Choose a tag to compare
v0.14.0b1 Pre-release
Pre-release

0.14.0

  • Removed support for Python 3.7 since reached its end of life
  • Updated the dev-requirements
  • Remove deprecated API (ipytest.clean_tests, %%pytest, %%pytest[clean])

v0.13.3

19 May 07:54
ba744d8
Compare
Choose a tag to compare
  • Include License.md file in sdist for condaforge

v0.13.2

14 May 20:28
2677403
Compare
Choose a tag to compare
  • Fix assertion rewriting for python==3.11 (issue)

v0.13.2b0

20 Apr 20:59
Compare
Choose a tag to compare
v0.13.2b0 Pre-release
Pre-release
  • Fix assertion rewriting for python==3.11 (issue)

v0.13.0

05 Nov 17:38
Compare
Choose a tag to compare

Usability improvements:

  • Use the same random module name during a notebook session to allow --ff and
    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_columns in ipytest.run
  • Allow to specify all keyword arguments of ipytest.run also in %%ipytest by
    including an initial comment of the form # ipytest: arg1=value1, arg2=value
  • Rename clean_tests to clean and deprecate clean_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
    reload function

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

0.12.0

12 Feb 12:17
e978438
Compare
Choose a tag to compare
  • Re-add the raise_on_error config option
  • Return the exit_code from ipyest.run()

Release on PyPI

0.11.0

12 Feb 12:18
Compare
Choose a tag to compare
  • Overwrite the program name in pytest error messages for incorrect arguments
  • Deprecate %%run_pytest and %%run_pytest[clean] in favor of %%ipytest
  • Force color pytest output by default by adding --color=yes to the default addopts value
  • Configure the number of columns available to pytest
  • Add warning and workaround for non-standard IPython implementations

Release on PyPI