pytest-dependency
0.5.1
  • About pytest-dependency
  • Installation instructions
  • Using pytest-dependency
  • Defining the scope of dependencies
  • Advanced usage
  • Names
  • Configuring pytest-dependency
  • History of changes to pytest-dependency
  • Reference
pytest-dependency
  • Docs »
  • pytest-dependency - Manage dependencies of tests
  • Edit on GitHub

pytest-dependency - Manage dependencies of tests¶

This pytest plugin manages dependencies of tests. It allows to mark some tests as dependent from other tests. These tests will then be skipped if any of the dependencies did fail or has been skipped.

Content of the documentation¶

  • About pytest-dependency
    • What is the purpose?
    • How does it work?
    • Why is this useful?
    • Copyright and License
  • Installation instructions
    • System requirements
    • Interaction with other packages
    • Download
    • Installation
  • Using pytest-dependency
    • Basic usage
    • Naming tests
    • Using test classes
    • Parametrized tests
    • Marking dependencies at runtime
  • Defining the scope of dependencies
    • Explicitely specifying the scope
    • Dependencies in session scope
    • The class scope
  • Advanced usage
    • Dynamic compilation of marked parameters
    • Grouping tests using fixtures
    • Depend on all instances of a parametrized test at once
  • Names
    • Node ids
    • References and scope
  • Configuring pytest-dependency
    • Notes on configuration for other plugins
    • Configuration file options
    • Command line options
  • History of changes to pytest-dependency
  • Reference
Next

© Copyright 2016-2020, Rolf Krahl Revision 7ba3afbc.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: 0.5.1
Versions
latest
stable
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3
0.2
0.1
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.