Studio:WorkspaceRun.pl: Difference between revisions

From STRIDE Wiki
Jump to navigation Jump to search
(New page: WorkspaceRun is a light-weight utility for executing the scripts and/or folders in a workspace. This utility automates the execution of scripts and/or folders in one or more workspaces. I...)
 
Line 1: Line 1:
WorkspaceRun is a light-weight utility for executing the scripts and/or folders in a 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.  
WorkspaceRun is a light-weight utility for executing the scripts and/or folders in a 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.  


Line 18: Line 17:


This component is written in the Perl scripting language and therefore requires that Perl be installed. See [[Installing STRIDE#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 [[Installing STRIDE#Third Party Requirements|Perl requirements]] for more information.
[[Category: Scripts]]

Revision as of 14:13, 13 August 2008

WorkspaceRun is a light-weight utility for executing the scripts and/or folders in a 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 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.