etr  2.0
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | Public Attributes | List of all members
etr.command.TestCommand Class Reference

Implements the Command.TEST command. More...

Public Member Functions

def __init__
 
def execute
 Execution of the test command which executes the configured steps. More...
 
def __init__
 
def execute
 Execution of the test command which executes the configured steps. More...
 

Public Attributes

 cfg_ctx
 

Detailed Description

Implements the Command.TEST command.

Constructor & Destructor Documentation

def etr.command.TestCommand.__init__ (   self,
  ctx 
)
def etr.command.TestCommand.__init__ (   self,
  ctx 
)

Member Function Documentation

def etr.command.TestCommand.execute (   self)

Execution of the test command which executes the configured steps.

The execution sequence is as follows assuming the plugins A and B have been loaded in order:

  • Setup
    • A.setup
    • B.setup
  • Run
    • A.run
    • B.run
  • Teardown (Teardown is executed in reverse order to unwind the setup)
    • B.teardown
    • A.teardown

If a plugin throws an exception, the sequence is aborted with the exception for teardown which is executed unless configured otherwise.

def etr.command.TestCommand.execute (   self)

Execution of the test command which executes the configured steps.

The execution sequence is as follows assuming the plugins A and B have been loaded in order:

  • Setup
    • A.setup
    • B.setup
  • Run
    • A.run
    • B.run
  • Teardown (Teardown is executed in reverse order to unwind the setup)
    • B.teardown
    • A.teardown

If a plugin throws an exception, the sequence is aborted with the exception for teardown which is executed unless configured otherwise.

Member Data Documentation

etr.command.TestCommand.cfg_ctx

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