Releases: chmp/ipytest
Releases · chmp/ipytest
0.11.0
- 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
0.10.0
- Remove the
ModuleCollectorPluginin favor of relying on pytest's builtin collection mechanism - Allow to fully customize the command line and to skip passing the current module as an argument
- Simplify config implementation: restrict config changes to function calls
- Allow to use the generated module name in the arguments passed to pytest by using
{MODULE} - Require
python>=3.6 - Remove
%%rewrite_assertsmagic - Remove
tempfile_fallbackconfig option - Remove
register_moduleconfig option - Remove
raise_on_errorconfig option - Remove
filenameargument foripytest.run - Remove
return_exit_codeargument fromipytest.run - Remove
running_as_testfunction
0.9.1
- Add
ipythonas an explicit dependency
0.9.0
- Add
Pytest>=5.4to the requirements - Remove legacy functionality, mostly plain unittest integration
- The
tempfile_fallbackalso kicks in, if a filename was configured, but the file does not exist - Add
register_moduleoption to register the notebook with the module system of Python. This way--doctest-modulesworks as expected
0.8.1
0.8.0
0.7.1
0.7.0
0.6.0
0.5.0
- Fix assertion rewriting via magics in
ipython>=7 - Add support to raise a
RuntimeErroron test errors (setipytest.config.raise_on_error = True) - Add support to set base arguments (set
ipytest.config.addopts = []) - Add config setting to enable magics (set
ipytest.config.magics = True). - Add config setting to create a temporary file to work without the notebook filename (set
ipytest.config.tempfile_fallback = True). - Allow to set multiple config values at the same time by calling the config object (
ipytest.config(...)). - Add
ipytest.running_as_test()to detect whether a notebook is executed as a test.