Studio:Test Runners

From STRIDE Wiki
Revision as of 19:40, 3 January 2008 by Mikee (talk | contribs)
Jump to navigation Jump to search

Introduction

STRIDE_TestRunner.pl

TestRun.pl

TestRun 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.

The behavior of this utility is controlled by the following command line options:

Options

   -w | --workspace = workspace.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.
   -f | --folder = path/my/folder
       Sets a logical folder in studio to be executed. Multiple folder
       switches can be used to specify more than one folder to run.
   -s | --script = myscript.pl
       Sets a script file in studio to be executed. Multiple script
       switches can be used to specify more than one script to run.

Example

 perl TestRun.pl [--workspace=tests.ssw --exclude=myFolder]