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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 329 views
  • 5 likes
  • 1 in conversation