SASUnit Examples  Version 1.5.0
SASUnit macros for assertions

Assertions compare actual outcomes to expectations. More...

Files

file  assertcolumns.sas
 Check whether there are differences between the values of the columns of two sas data sets (PROC COMPARE).
 
file  assertequals.sas
 Check whether there are differences between the value of a macro variable and an expected value.
 
file  assertforeignkey.sas
 Checks whether a foreign key relationship between the columns of two data sets exists.
 
file  assertlibrary.sas
 Check whether all files are identical in the libraries i_expected and i_actual.
 
file  assertlog.sas
 Check whether errors or warnings appear in the log.
 
file  assertlogmsg.sas
 Check whether a certain message appears in the log.
 
file  assertperformance.sas
 Check whether runtime of the testcase is below or equal a given limit.
 
file  assertprimarykey.sas
 Checks whether a set of columns can be used as primary key for the data set.
 
file  assertrecordcount.sas
 This assert checks whether a certain number of records exist in a data set specified by parameters i_libref and i_memname.
 
file  assertrecordexists.sas
 Check whether at least one record exists which satisfies a certain WHERE condition.
 
file  assertreport.sas
 Check whether a report file exists and was created during the current SAS session.
 
file  assertrowexpression.sas
 Checks if all observations meet a given WHERE expression.
 
file  asserttableexists.sas
 Check whether a certain data set, view or catalogue exists.
 

Detailed Description

Assertions compare actual outcomes to expectations.

Contains macros for assertions.