etr  4.0-pre
Public Member Functions | Static Public Attributes | List of all members
etr.plugins.pytest.Plugin Class Reference

Pytest plugin for etr to allow execution of Pytest test suites. More...

Public Member Functions

def __init__ (self, ConfigurationContext ctx)
 
def run (self, RunContext ctx)
 Run test specified in configuration and filtered by options. More...
 

Static Public Attributes

string config_schema
 

Detailed Description

Pytest plugin for etr to allow execution of Pytest test suites.

Configuration schema:

# Optional (default True)
randomize: True|False

pytest: tests:

- tests/fail.py
- tests/success.py

Constructor & Destructor Documentation

◆ __init__()

def etr.plugins.pytest.Plugin.__init__ (   self,
ConfigurationContext  ctx 
)

Member Function Documentation

◆ run()

def etr.plugins.pytest.Plugin.run (   self,
RunContext  ctx 
)

Run test specified in configuration and filtered by options.

Member Data Documentation

◆ config_schema

string etr.plugins.pytest.Plugin.config_schema
static
Initial value:
= """
type: object
additionalProperties: False
properties:
tests:
type: array
items:
type: string
"""

The documentation for this class was generated from the following file: