determine whether a test scenario has to be executed
More...
Go to the source code of this file.
determine whether a test scenario has to be executed
conditions when test scenario has to be executed
- new test scenario
- test scenario has been changed since last run
- test scenario contains a test case, where the unit under test (SAS program to be tested) has been changed since last execution of the scenario.
- test scenario contains a unit under test which does not exist (scenario has to be executed so that this will be noticed)
- Parameters
-
i_scnfile | absolute path to test scenario program |
i_changed | last modification date and time of test scenario (SAS date time value) |
i_dir | SAS dataset with all programs in all autocall libraries. The data set contains the following variables:
- filename absolute path to program
- changed datetime of last modification
- auton autocall number 0..9 (dataset should be created with _sasunit_dir)
|
r_scnid | name of macro variable to return scenario id, if scenario can be found, 0 otherwise |
r_run | name of macro variable to return 1 for execute or 0 for do not execute |
- Returns
- &r_scnid and &r_run
- Version
- $Revision: 106 $
- Author
- $Author: b-braun $
- Date
- $Date: 2013-01-10 14:59:21 +0100 (Do, 10 Jan 2013) $
- See Also
- $HeadURL: https://svn.code.sf.net/p/sasunit/code/trunk/saspgm/sasunit/_sasunit_checkscenario.sas $
- Copyright
- Copyright 2010, 2012 HMS Analytical Software GmbH. This file is part of SASUnit, the Unit testing framework for SAS(R) programs. For terms of usage under the GPL license see included file readme.txt or https://sourceforge.net/p/sasunit/wiki/readme.v1.2/.
Definition in file _sasunit_checkscenario.sas.