TestRunner

Methods

(static) Rooibos_TestRunner(args)

Creates an instance of the test runner

Source:
Parameters:
Name Type Description
args Dynamic

contains the application launch args, and other settings required for test execution

CreateTestNode(nodeType) → {Object}

interface hook for correctly creating nodes that get tested. This ensures they are in the correct scope. This method must be defined in your tests scene xml.

Source:
Parameters:
Name Type Description
nodeType String

name of node to create. The framework will pass this in as required

Returns:
Type:
Object

the required node, or invalid if it could not be invoked.

Rooibos_RunNodeTests(args) → {Object}

interface hook for exeucting tests on nodes. This method is for internal use only. Only the Rooibos framework should invoke this method

Source:
Parameters:
Name Type Description
args Dynamic

associated array, containing all the information required to execute the tests.

Returns:
Type:
Object

test stats object, for merging into main test stats

Run()

Executes all tests for a project, as per the config

Source: