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

Nose plugin for etr to allow execution of nose test suites. More...

Public Member Functions

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

Static Public Attributes

string config_schema
 

Detailed Description

Nose plugin for etr to allow execution of nose test suites.

Configuration schema:

# Optional (default True)
randomize: True|False

nose: tests:

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

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ run()

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

Run test specified in configuration.

   @todo: Parse xunit results and present result summary.

Member Data Documentation

◆ config_schema

string etr.plugins.nose.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: