Run Program
With the Run Program Test Step in AutoTest, you can check whether a program or command executes successfully.
The Run Program Test simply executes a specified program and checks the return code or exit status of this program. Meaning, an exit status of 0 (or success) results in passing the test and any nonzero exit status (or failure) results in failing the test.

Use cases

Run Program Tests are easy to set up and effective to check program execution when specific output is not important. Use Run Program Tests, for instance, to check the successful compilation of student code.
When using a Run Program test step to compile code, generate files or alter the environment, this only affects the current category's environment. Compiled code or generated files will not be available inside other categories.
Last modified 1yr ago
Copy link