SASUnit Examples  Version 1.5.0
initsasunit.sas File Reference

Initialization of a test suite that may comprise several test scenarios. More...

Go to the source code of this file.

Detailed Description

Initialization of a test suite that may comprise several test scenarios.

An existing test repository is opened or a new test repository is created.

Version
$Revision: 368 $
Author
$Author: klandwich $
Date
$Date: 2014-12-18 16:12:06 +0100 (Do, 18 Dez 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/initsasunit.sas $
Parameters
i_rootoptional: root path for all other paths, is used for paths that do not begin with a drive letter or a slash/backslash
io_targetPath for the test repository and the generated documentation, has to exist
i_overwrite0 (default) .. create test repository only in case it does not already exist 1 .. test repository is always created newly
i_projectoptional (in case test repository already exists): name of project
i_sasunitoptional (in case test repository already exists): path of SAS programs from SASUnit
i_sasautosoptional: i_sasautos, i_sasautos1 .. i_sasautos9: search paths for the programs under test and other sas macros invoked in test scenarios or programs under test (the filename SASAUTOS predefined by SAS is always included at the beginning of the search path)
i_autoexecoptional: a SAS program that is always invoked before a start of a test scenario
i_sascfgoptional: a SAS configuration file that is used for every invocation of a test scenario
i_sasuseroptional: Template for a SASUSER directory including configuration catalogs. A temporary SASUSER directory is created, existing only for the duration of a test scenario, in which all files are copied out of the specified directory.
i_testdataoptional: directory containing test data, has to exist in case parameter is set (is accessed readonly)
i_refdataoptional: directory containing reference data, has to exist in case parameter is set (is accessed readonly)
i_docoptional: directory containing specification documents, etc., has to exist in case parameter is set (is accessed readonly)
i_testcoverageoptional: controls whether assessment of test coverage is activated 0 .. no assessment of test coverage 1 (default) .. assessment of test coverage is activated
i_verboseoptional: controls whether results of asserts are written to the SAS log 0 (default).. no results written to SAS log 1 .. results are written to SAS log
i_crossrefoptional: controlls wether the crossreference is created in overwrite mode 0 .. crossreference will not be created 1 (default).. crossreference will be created
i_crossrefsasunitoptional: controls wether the SASUnit core macros are included in the scan for dependencies 0 (default) .. SASUnit core macros are not included 1 .. SASUnit core macros are included

Definition in file initsasunit.sas.