$CG_JUNIT_XML_LOCATIONenvironment variable. Students will then get a clear overview of all the tests that have been run, which ones failed, and the output that was produced in the case of failure.
SCRIPTfor the unit test script you want to use from the list above.
compilecommand that configures the compiler to be able to find the required libraries. The
compilecommand takes file names as arguments and compiles those files. Run the command
cg-SCRIPT compile <file1> <file2> ...to compile the student code and test classes.
$CG_JUNIT_XML_LOCATIONand then unset it before running the tests. The testing framework is then configured to output its results at that location and the tests are executed. Run the command
cg-SCRIPT run <file1> <file2> ...to compile the student code and test classes.