SASUnit is a unit testing framework for SAS(TM)-programs.
It can be used for the development, execution and automatic documentation of tests for SAS programs.
SASUnit is written purely on the basis of SAS macros and a few shell commands.
There are two videos on YouTube:
* Getting started: https://www.youtube.com/watch?v=Kc66hADHNyI
* Usage of setup scripts: https://www.youtube.com/watch?v=9drW_6eg6G4
SASUnit is brought to you by HMS Analytical Software https://www.analytical-software.de
Features
- Write test scencarios and test cases for SAS(R) programs
- Use assertions to test the values of macro variables, the contents of SAS data sets, relations between data sets (referential constraints), the existence of external files or the presence or absence of log messages
- Measure performance of SAS(R) programs
- Integrate non-automatic tests, for instance visual checks of report output
- Assess test coverage for SAS macros
- Run tests and generate test documentation in batch mode
- implement units and test scenarios within SAS(R) Enterprise Guide. SASUnit now supports test driven development / design
- Get clearly arranged test documentation, integrated with program documentation
- Use test results in continuous integration environments
- Written purely on the basis of SAS macros and a few shell commands
- Thoroughly tested under SAS(R) 9.4 under Windows and Linux
License
GNU General Public License version 3.0 (GPLv3)Follow SASUnit
You Might Also Like
Full Control for Complex IT - Try PRTG Now
As an IT monitoring expert, you need more than basic alerts - you need actionable data and full transparency. PRTG gives your team a single pane of glass for all systems, devices, and applications, with customizable dashboards and granular user management. Detect issues before they escalate, automate reporting, and ensure compliance with SLAs. PRTG’s scalable engine and advanced analytics help you optimize resources, reduce manual effort, and keep your organization running smoothly. Take control of your IT landscape and make smarter decisions with real-time, enterprise-grade monitoring.
Rate This Project
Login To Rate This Project
User Reviews
-
I think this is a very well written tool, and a must-have if you regularly use SAS. SAS macro programming is flawed and the debugging capabilities of SAS are extremely limited, so you need to use SASUnit regularly to test your code.
-
SASUnit is the best (only?) tool for ensuring quality of SAS code. It is a little hands on to set up, but a lot of that is the nature of the SAS environment - even a widely used tool like Junit can give you trouble.