BookmarkSubscribeRSS Feed
AllanBowe
Barite | Level 11

Tests are an ESSENTIAL part of any non-trivial SAS project.

 

In this video we explore the SASjs approach to writing, compiling, deploying and executing tests.  Tests can be written for SAS Jobs, Services and Macros.  Each Job/Service/Macro may have one or more tests associated (using name.test.sas or name.test.[integer].sas notation).

 

Test coverage is shown during the _compilation_ of the SAS project.  Test results are shown after deploying and executing the tests.  

 

SASjs Test works on Viya, SAS 9, and Foundation SAS. Self-contained tests are deployed as content to the SAS Logical folder (SAS Drive, SAS Metadata, or SASjs Drive).

For more info on SASjs test, see documentation:  https://cli.sasjs.io/test

 

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Get Ready to Hack! 2024 SAS Hackathon

If hackin’ is your jam, we’re droppin’ it like it’s PROC with our groovy tune!

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 0 replies
  • 429 views
  • 5 likes
  • 1 in conversation