Studio:Workspace Setup: Difference between revisions

From STRIDE Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:


Test Suites and Test Cases shall be placed under the '''test''' folder.
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";


[[Category:Project Organization]]
[[Category:Project Organization]]
[[Category:Practice]]
[[Category:Practice]]

Revision as of 15:52, 1 December 2008

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";