SASUnit Examples  Version 1.5.0

Invokes one or more test scenarios. More...

Go to the source code of this file.

Detailed Description

Invokes one or more test scenarios.

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 _scenario.sas . All test results are gathered in the test repository.
Version
$Revision: 358 $
Author
$Author: klandwich $
Date
$Date: 2014-11-30 10:23:01 +0100 (So, 30 Nov 2014) $
See Also
For further information please refer to SASUnit User's Guide Here you can find the SASUnit documentation, release notes and license information.
$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.