Test Cases by Scenario | SASUnit Examples - SASUnit Test Documentation

Name Value
No. 001
Scenario Tests for boxplot.sas
Program example/saspgm/boxplot_test.sas
Last Run 21MAR2014:11:39:45
Duration 4.2 s

Test Cases
No. Test Case Unit under Test Last Run Duration Result
001 standard case without reference boxplot.sas 21MAR2014:11:39:45 0.2 s
002 standard case with reference boxplot.sas 21MAR2014:11:39:45 0.2 s
003 standard case with reference, missing values for Y boxplot.sas 21MAR2014:11:39:45 0.2 s
004 different scaling for x and y axis boxplot.sas 21MAR2014:11:39:46 0.2 s
005 only two visits boxplot.sas 21MAR2014:11:39:46 0.3 s
006 only one visit boxplot.sas 21MAR2014:11:39:46 0.1 s
007 18 visits boxplot.sas 21MAR2014:11:39:47 0.4 s
008 invalid input data set boxplot.sas 21MAR2014:11:39:47 0.1 s
009 input data set missing boxplot.sas 21MAR2014:11:39:47 0.0 s
010 invalid x variable boxplot.sas 21MAR2014:11:39:47 0.1 s
011 x variable missing boxplot.sas 21MAR2014:11:39:47 0.0 s
012 x variable not numeric boxplot.sas 21MAR2014:11:39:47 0.0 s
013 x variable values not equidistant boxplot.sas 21MAR2014:11:39:48 0.0 s
014 x variable has missing values boxplot.sas 21MAR2014:11:39:48 0.0 s
015 invalid y variable boxplot.sas 21MAR2014:11:39:48 0.1 s
016 y variable not specified boxplot.sas 21MAR2014:11:39:48 0.1 s
017 y variable not numeric boxplot.sas 21MAR2014:11:39:48 0.0 s
018 invalid group variable boxplot.sas 21MAR2014:11:39:48 0.1 s
019 group variable not specified boxplot.sas 21MAR2014:11:39:48 0.1 s
020 group variable has only one value boxplot.sas 21MAR2014:11:39:48 0.0 s
021 group variable has more than two values boxplot.sas 21MAR2014:11:39:48 0.0 s
022 group variable has missing values boxplot.sas 21MAR2014:11:39:48 0.0 s


Name Value
No. 002
Scenario Tests for buidling a database
Program example/saspgm/database_test.sas
Last Run 21MAR2014:11:39:49
Duration 1.7 s

Test Cases
No. Test Case Unit under Test Last Run Duration Result
001 Creation of base datasets basedatasets.sas 21MAR2014:11:39:49 0.0 s
002 Creating combined dataset combineddataset.sas 21MAR2014:11:39:50 0.0 s


Name Value
No. 003
Scenario Tests for generate.sas
Program example/saspgm/generate_test.sas
Last Run 21MAR2014:11:39:50
Duration 2.1 s

Test Cases
No. Test Case Unit under Test Last Run Duration Result
001 example with one by variable generate.sas 21MAR2014:11:39:51 0.2 s
002 example with two by variables generate.sas 21MAR2014:11:39:51 0.1 s
003 example with one by variable with only one value generate.sas 21MAR2014:11:39:52 0.1 s
004 invalid dataset generate.sas 21MAR2014:11:39:52 0.1 s
005 invalid by variable generate.sas 21MAR2014:11:39:52 0.0 s
006 invalid output library generate.sas 21MAR2014:11:39:52 0.1 s


Name Value
No. 004
Scenario Tests for getvars.sas
Program example/saspgm/getvars_test.sas
Last Run 21MAR2014:11:39:53
Duration 1.2 s

Test Cases
No. Test Case Unit under Test Last Run Duration Result
001 simple example with sashelp.class getvars.sas 21MAR2014:11:39:53 0.0 s
002 simple example with sashelp.class, different delimiter getvars.sas 21MAR2014:11:39:53 0.0 s
003 example with variable names containing special characters getvars.sas 21MAR2014:11:39:53 0.0 s
004 example with empty dataset getvars.sas 21MAR2014:11:39:53 0.0 s
005 example without dataset specified getvars.sas 21MAR2014:11:39:54 0.0 s
006 example with invalid dataset getvars.sas 21MAR2014:11:39:54 0.0 s


Name Value
No. 005
Scenario Tests for nobs.sas - has to fail!
Program example/saspgm/nobs_test.sas
Last Run 21MAR2014:11:39:54
Duration 1.3 s

Test Cases
No. Test Case Unit under Test Last Run Duration Result
001 simple example with sashelp.class nobs.sas 21MAR2014:11:39:54 0.0 s
002 failed test - must be red! nobs.sas 21MAR2014:11:39:54 0.0 s
003 example with big dataset nobs.sas 21MAR2014:11:39:55 0.2 s
004 example with empty dataset nobs.sas 21MAR2014:11:39:55 0.0 s
005 dataset not specified nobs.sas 21MAR2014:11:39:55 0.0 s
006 invalid dataset nobs.sas 21MAR2014:11:39:55 0.0 s


Name Value
No. 006
Scenario Tests for regression.sas
Program example/saspgm/regression_test.sas
Last Run 21MAR2014:11:39:55
Duration 1.5 s

Test Cases
No. Test Case Unit under Test Last Run Duration Result
001 compare linear regression between Excel and SAS regression.sas 21MAR2014:11:39:56 0.5 s


Generated on Friday, 21 March 2014, 11:39:58 by SASUnit SASUnit Version 1.3.0 (320)