Difference between revisions of "Studio:WorkspaceRun.pl"

From STRIDE Wiki
Jump to: navigation, search
(Prerequisites)
 
Line 16: Line 16:
 
== Prerequisites ==
 
== Prerequisites ==
  
This component is written in the Perl scripting language and therefore requires that Perl be installed. See [[Desktop Installation#Third Party Requirements|Perl requirements]] for more information.
+
This component is written in the Perl scripting language and therefore requires that Perl be installed. See [[Studio:Desktop Installation#Third Party Requirements|Perl requirements]] for more information.
  
 
[[Category:Studio:Scripts]]
 
[[Category:Studio:Scripts]]

Latest revision as of 22:59, 6 May 2010

WorkspaceRun is a light-weight utility for executing the scripts and/or folders in a STRIDE Studio workspace. This utility automates the execution of scripts and/or folders in one or more workspaces. If no workspace file is specified, it will search the current directory tree and run all ssw files that are found. If no top-level folders are specified for exclusion, the entire workspace will be executed. This utility does no special process or timeout monitoring.

The results of the execution are written to the report file (html) specified in the workspace settings. A simple totals summary of the results is also printed to stdout upon completion of each workspace.

Usage

 WorkspaceRun.pl [--workspace=tests.ssw --exclude=myFolder]
Parameters
-w | --workspace = WorkspaceName.ssw
Sets the workspace to be opened. If no workspace is specified, the current directory is searched and all ssw files will be opened, in file-system order. Multiple workspace switches can be used to specify more than one workspace to open.
-x | --exclude= path/my/folder

Sets a logical folder in STRIDE Studio to be excluded from execution. Multiple folder switches can be used to specify more than one folder to skip.

Prerequisites

This component is written in the Perl scripting language and therefore requires that Perl be installed. See Perl requirements for more information.