Skip to content

pytest 3.0 checklist

Bruno Oliveira edited this page Aug 20, 2016 · 18 revisions

pytest 3.0 was released August 19, 2016

try it out:

pip install -U pytest
pytest  # Yes - that's no typo #dropthedot :)

See what else is new here: http://blog.pytest.org

Old checklist (for posterity)

  • --setup-show,--setup-only, --setup-plan options
  • reporting hooks for fixture setup/teardown (Steffen, Danielle)
  • new main entry point pytest (and py.test)
  • remove py.test-X* entrypoints
  • display pytest warnings by default
  • remove all deprecated command line options for 3.0 (Farmer)
  • merged fixtures becomes a doc draft (Raphael, Holger)
  • introduce deprecation docs based on lightning talk (Oliver)
  • new option --override-ini|-o ININAME=INIVALUE to overrides ini values from the command line so that one can do e.g. -o xfail_strict=True. We don't change the default (Omar, Ted, Daniel)
  • issue deprecation warning for yielding test functions (bruno)
  • issue deprecation warning pytest_funcarg_ fixtures (bruno) (#1684)
  • remove reinterpret assert (Floris)
  • Issues and PRs for the 3.0 milestone: https://github.com/pytest-dev/pytest/milestone/2 (42 currently!)

Posptoned to 3.1

  • doc restructuring
  • fixture conftest sharing / fixture namespace control, draft/suggestion document
  • invocation-scope: e.g. monkeypatch and mocker would be useable from any scope. Pulled back right before 3.0 due to introducing some subtle regressions.