Skip to main content

pytest plugin for test scenarios

Project description

pytest-scenario is a pytest plugin that aims to extend current test parameterization capabilities. After installing pytest-scenario you will be able run a test suite constructed from a JSON formatted test plan (AKA Test Scenario).

Note: pytest-scenario is currently classified as alpha, feel free to contact me with any issue at:


  • Test parameterization (including fixtures and test arguments).

  • Fixture parameterization on a test level.

  • Test instantiation - run multiple test instances with different parameters.

  • Test ordering - running tests in a thoughtful, user-defined order.

  • Test exclusion - excluding unwanted tests during collection stage.


Install pytest-scenario by running:

pip install pytest-scenario


A quick start guide can be found here.


The project is licensed under the WTFPL license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytest-scenario-1.0a5.tar.gz (5.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page