Skip to content

Pytest plugin for running test scenarios (collection of test cases).

License

Notifications You must be signed in to change notification settings

OriMenashe/pytest-scenario

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytest-scenario: parameterized test case instances and test scenarios.

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: https://github.com/OriMenashe

Features

  • 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.

Installation

Install pytest-scenario by running:

pip install pytest-scenario

Documentation

A quick start guide can be found here.

License

The project is licensed under the WTFPL license.

About

Pytest plugin for running test scenarios (collection of test cases).

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages