RunTestframework (open)

Run a number of tests within the framework

Syntax

LOADLIB "mod::system/lib/testframework.whlib";

OBJECT FUNCTION RunTestframework(FUNCTION PTR ARRAY tests, RECORD options)

Parameters

FUNCTION PTR ARRAY tests

Function pointers to tests to run

RECORD options

Options

STRING ARRAY addinterfacealiases
BOOLEAN debug

Add more debug information

STRING ARRAY debugflags

Additional debug options to set on the testframework browser

BOOLEAN disablecreatecleanup

Skip cleanup and recreation that normally happens at the start of the tests - sometimes useful for faster retesting

BOOLEAN mailwhitelists
BOOLEAN profile

Enable profiling, set to default

BOOLEAN relativeoutputfolders
INTEGER requireport
RECORD ARRAY testroles

Roles to create in the test WRD schema

RECORD ARRAY testusers

Users to create in the test WRD schema

STRING ARRAY testusers.grantrights

Rights to grant to this user (will be self-granted)

STRING ARRAY testusers.grantroles

Roles to grant to this user (will be granted by first created user)

BOOLEAN usedatabase
BOOLEAN wrdauth

Set to true to setup the testschema for users/role/rights. Implicity set if testusers or testroles are set

BOOLEAN wrdschema

Return value

OBJECT