SASUnit Examples
Version 1.5.0
|
Initialization of a test suite that may comprise several test scenarios. More...
Go to the source code of this file.
Initialization of a test suite that may comprise several test scenarios.
An existing test repository is opened or a new test repository is created.
i_root | optional: root path for all other paths, is used for paths that do not begin with a drive letter or a slash/backslash |
io_target | Path for the test repository and the generated documentation, has to exist |
i_overwrite | 0 (default) .. create test repository only in case it does not already exist 1 .. test repository is always created newly |
i_project | optional (in case test repository already exists): name of project |
i_sasunit | optional (in case test repository already exists): path of SAS programs from SASUnit |
i_sasautos | optional: 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_autoexec | optional: a SAS program that is always invoked before a start of a test scenario |
i_sascfg | optional: a SAS configuration file that is used for every invocation of a test scenario |
i_sasuser | optional: 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_testdata | optional: directory containing test data, has to exist in case parameter is set (is accessed readonly) |
i_refdata | optional: directory containing reference data, has to exist in case parameter is set (is accessed readonly) |
i_doc | optional: directory containing specification documents, etc., has to exist in case parameter is set (is accessed readonly) |
i_testcoverage | optional: controls whether assessment of test coverage is activated 0 .. no assessment of test coverage 1 (default) .. assessment of test coverage is activated |
i_verbose | optional: 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_crossref | optional: controlls wether the crossreference is created in overwrite mode 0 .. crossreference will not be created 1 (default).. crossreference will be created |
i_crossrefsasunit | optional: 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.