Studio:Workspace Setup

From STRIDE Wiki
Revision as of 15:52, 1 December 2008 by Marku (talk | contribs)
Jump to navigation Jump to search

This article outlines the recommended organization for a Test Workspace. The WorkspaceSetup.pl utility script should be used to create the workspace. The command line script will automatically create a workspace with the passed in name:

 WorkspaceSetup.pl -w name


The auto-generated workspace will contain the following folders. For more details refer to WorkspaceSetup.pl.

<Scripts Files>
  setup -- relevant setup fixtures
  test -- test assets
  teardown -- relevant teardown fixtures
  utility -- utilities and libraries

Test Suites and Test Cases shall be placed under the test folder.

The following is an example of setting up publishing via the workspace:

 // Demo portal =  http://demoportal.s2technologies.com/
 
 var portal = studio.Workspace.Portal;
 
 // portal.EnableUpload  = false; // default to off
 portal.Server        = "demoportal.s2technologies.com/testresults/";
 portal.Path          = "/DEMO";
 portal.TimestampPath = true;
 portal.SpaceName     = "DEMO";
 portal.UserName      = "marku";
 portal.Password      = "seaside";