rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
etr.tools.tests Namespace Reference

Functions

def make_basename
 Helper that creates a unified basename out of the test index and the test file path. More...
 
def make_tests
 Helper that creates the list of tests execute. More...
 

Variables

tuple _logger
 

Function Documentation

def etr.tools.tests.make_basename (   index,
  test_file_path 
)

Helper that creates a unified basename out of the test index and the test file path.

make_basename(0, 'src/test.robot')

'00_test'

def etr.tools.tests.make_tests (   tests)

Helper that creates the list of tests execute.

Additionally, it implements standard features that should be valid across any test runner plugin. These are:

  • Test randomization
  • Test selection/filtering

Returns an ordered list (that may be shuffled) of tuples where each tuple contains the original sequence and the test filename, e.g.:

[(12, 'src/some_test.robot'), (1, 'src/other_test.robot'), ...]

Variable Documentation

etr.tools.tests._logger