Navigation

  • index
  • modules |
  • next |
  • pytest-dependency 0.5.1 documentation »
  • pytest-dependency - Manage dependencies of tests

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

Table of Contents

  • pytest-dependency - Manage dependencies of tests
    • Content of the documentation

Next topic

About pytest-dependency

Quick search

Navigation

  • index
  • modules |
  • next |
  • pytest-dependency 0.5.1 documentation »
  • pytest-dependency - Manage dependencies of tests
© Copyright 2016-2021, Rolf Krahl. Created using Sphinx 4.3.1.