SASUnit Examples  Version 1.2

Invokes one or more test scenarios. More...

Go to the source code of this file.

Detailed Description

Invokes one or more test scenarios.

Please refer to SASUnit User's Guide

Procedure:

  • Check whether test repository was already initialized with %initSASUnit, if not: End.
  • Determination of the test scenarios to be invoked.
  • For every test scenario:
    • Check whether it already exists in the test repository.
    • if yes: Check whether the test scenario was changed since last invocation.
    • if no: Creation of the test scenario in the test repository.
    • In case the test scenario is new or changed:
      • The test scenario is executed in an own SAS session which is initialized by _sasunit_scenario.sas . All test results are gathered in the test repository.
Version
$Revision: 134 $
Author
$Author: b-braun $
Date
$Date: 2013-01-30 11:48:11 +0100 (Mi, 30 Jan 2013) $
See Also
$HeadURL: https://svn.code.sf.net/p/sasunit/code/trunk/saspgm/sasunit/runsasunit.sas $
Parameters
i_sourcetest scenario (path to SAS program) resp. test scenarios (search pattern with structure directory, e.g. test\*_test.sas for all files that end with _test.sas If the given path is not absolute, the path specified in the parameter i_root of %initSASUnit will be used as prefix to the specified path
i_recursiveif a search pattern is specified: 1 .. subdirectories of &i_source are searched, too. default 0 ... do not search subdirectories.

Definition in file runsasunit.sas.