00001 00024 /* History 00025 05.09.2008 NA Anpassungen Linux 00026 06.02.2008 AM Neuerstellung 00027 */ 00028 00029 OPTIONS 00030 MPRINT MAUTOSOURCE NOMLOGIC NOSYMBOLGEN 00031 SASAUTOS=(SASAUTOS "c:/projects/sasunit/saspgm/sasunit") /* SASUnit macro library */ 00032 ; 00033 00034 /* open test repository or create when needed */ 00035 %initSASUnit( 00036 i_root = c:/projects/sasunit /* root path, all other paths can then be relative paths */ 00037 ,io_target = example/doc/sasunit /* Output of SASUnit: test repository, logs, results, reports */ 00038 ,i_overwrite = 0 /* set to 1 to force all test scenarios to be run, else only changed 00039 scenarios or scenarios with changed unit under test will be run*/ 00040 ,i_project = SASUnit Examples /* Name of project, for report */ 00041 ,i_sasunit = saspgm/sasunit /* SASUnit macro library */ 00042 ,i_sasautos = example/saspgm /* Search for units under test here */ 00043 ,i_testdata = example/dat /* test data, libref testdata */ 00044 ,i_refdata = example/dat /* reference data, libref refdata */ 00045 ) 00046 00047 /* Run specified test scenarios. There can be more than one call to runSASUnit */ 00048 %runSASUnit(i_source = example/saspgm/%str(*)_test.sas) 00049 00050 /* Create or recreate HTML pages for report where needed */ 00051 %reportSASUnit() 00052 00053