Date: Mon, 21 Jul 2008 03:52:26 -0700
Reply-To: karma <dorjetarap@GOOGLEMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: karma <dorjetarap@GOOGLEMAIL.COM>
Subject: Unit Tests
Content-Type: text/plain; charset=ISO-8859-1
Does anyone have any experience on unit testing in SAS? I'm
particularly interested on getting any advice on how such a thing
would be handled for macros that are used in the pharma industry.
I've been racking my brains on how to create such tests, but so far, I
can only think of:
1. Create a number of different datasets
2. Create datasets of expected outputs
3. Proc compare the two
4. Fail test if proc compare shows any inequalities; else pass
I'd be thankful for any advice.