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 testsFunction pointers to tests to run
RECORD optionsOptions
STRING ARRAY addinterfacealiasesBOOLEAN debugAdd more debug information
STRING ARRAY debugflagsAdditional debug options to set on the testframework browser
BOOLEAN disablecreatecleanupSkip cleanup and recreation that normally happens at the start of the tests - sometimes useful for faster retesting
BOOLEAN mailwhitelistsBOOLEAN profileEnable profiling, set to default
BOOLEAN relativeoutputfoldersINTEGER requireportRECORD ARRAY testrolesRoles to create in the test WRD schema
RECORD ARRAY testusersUsers to create in the test WRD schema
STRING ARRAY testusers.grantrightsRights to grant to this user (will be self-granted)
STRING ARRAY testusers.grantrolesRoles to grant to this user (will be granted by first created user)
BOOLEAN usedatabaseBOOLEAN wrdauthSet to true to setup the testschema for users/role/rights. Implicity set if testusers or testroles are set
BOOLEAN wrdschemaReturn value
OBJECT