SetupTestWebsite (open)

Setup a website for continuous integration tests

Syntax

LOADLIB "mod::publisher/lib/testfw/sites.whlib";

OBJECT FUNCTION SetupTestWebsite(STRING webdesigntemplate, RECORD options)

Parameters

STRING webdesigntemplate

Name of the webdesign to use, eg "mysite:mydesign"

RECORD options

Options

STRING cdnhost

CDN base url

BOOLEAN istemplate

If true, instantiate from the webdesign as a template (will create the webhare_testsuite_temp module to store this webdesign)

STRING sitename

Site name to use, defaults to "webhare_testsuite.site"

BOOLEAN waitwebserver

Wait for the webserver configuration to reload (so settings from siteprofiles can apply to the output)

STRING ARRAY webfeatures

Additional webfeatures to activate

Return value

OBJECT

Newly created site