Hi Henrik, that is weird. We are runnging under Win11 and our sysscpl is X64_10PRO. Your sysscpl is X64_WIN+PRO instead. The plus sign inth the sysscpl causes the problem. In line 34 follollwing in _check_runenvironment.sas: %*** check for operation system ***; %if %_handleError(&l_macname. ,WrongOS ,(%upcase(&sysscp.) NE WIN) AND (%upcase(&sysscpl.) NE LINUX) AND (%upcase(&sysscpl.) NE AIX) ,Invalid operating system - only WINDOWS%str(,) LINUX AND AIX ) just add double quotes around %upcase(&sysscpl.)...
Hi Henrik, that is weird. We are runnging under Win11 and our sysscpl is X64_10PRO. Your sysscpl is X64_WIN+PRO instead. The plus sign inth the sysscpl causes the problem. In line 34 follollwing in _check_runenvironment.sas: %*** check for operation system ***; %if %_handleError(&l_macname. ,WrongOS ,(%upcase(&sysscp.) NE WIN) AND (%upcase(&sysscpl.) NE LINUX) AND (%upcase(&sysscpl.) NE AIX) ,Invalid operating system - only WINDOWS%str(,) LINUX AND AIX ) just add double quotes around %upcase(&sysscpl.)...
Hi Henrik, Yes SASUnit is runing under WIn11 and SAS9.4. Make sure to switch with us to github https://github.com/HMS-Analytical-Software/SASUnit What error is issued when running SASUnit under Win11 / SAS9.4
Hi Henrik, I'm not 100% sure where this comes from but this is my first guess. Image comparison cannot be done with in SAS so we need a third party tool to conduct that job. It is called imageMagick. You need to install that on the machine where SASUnit is running. Currently SASunit support the command line interface of version 6.9.13 Including imageMagick into SASUnit at first was only to show what you can do with assertExternal. But then it came in quite handy. If you cannot install that to your...
Hi Henrik, We are currently working on version 2.2 of SASUnit. This includes some bug fixes and a bit refactoring. In parallel we are evaluating how SASUnit can be integrated into SAS Viya architecture. We plan to update SASUnit batch processing to be able to start "SAS Sessions" under SAS Viya. Regards Klaus
Hi Henrik, yes, it is possible to "test" python code with SASUnit. You can start the call to python as your test call in SASUnit. I'm not sure what portion of the python log / output will be visible in the SAS log file. That surely depends on the way you call the python program. You can then check the results (e.g. report or data set) with SASUnit. %initScenario(i_desc=Tests for python program xyz); %initTestcase(i_object=call_python_program_xyz.sas, i_desc=Call with Parameters abc) <...call python...
Hello Henrik Lissau, your previous e-mail did reach me. I justed hadn't the time to react yet. From a validation point of view SASUnit is not part of your source code. So you do not need to validate it. As for any third-party tool you need an installational and operational qualification. This can be done by executing the sample project we deliver with SASUnit and compare it to the documentation on SourceForge or GitHub. In case you need some documentation or are interested in our testing of SASUnit...
different location for sasunit installation and SAS programms