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 webdesigntemplateName of the webdesign to use, eg "mysite:mydesign"
RECORD optionsOptions
STRING cdnhostCDN base url
BOOLEAN istemplateIf true, instantiate from the webdesign as a template (will create the webhare_testsuite_temp module to store this webdesign)
STRING sitenameSite name to use, defaults to "webhare_testsuite.site"
BOOLEAN waitwebserverWait for the webserver configuration to reload (so settings from siteprofiles can apply to the output)
STRING ARRAY webfeaturesAdditional webfeatures to activate
Return value
OBJECTNewly created site