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
MacroCore library for app developers
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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Celebrate the 2024 SAS Hackathon

Watch the 2024 SAS Hackathon Awards Ceremony and experience the excitement all over again!

Find more tutorials on the SAS Users YouTube channel.

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