Automating the Checking of Multiple Student Answers
The Tecs software allows testing to be done via the command-line, so I have written a Perl script which, given a specific project name and a list of Zip files, will unpack the contents of each Zip file, bring in the correct set of .tst and .cmp files, run the tests on the files from the Zip, and print the results.
This should help me automate the checking of my students' submissions. I will still need to read through each answer anyway, but this should help me to focus on the areas in the answers which need most attention. Hopefully this tool will be useful to other people running the Tecs course.
Re: Automating the Checking of Multiple Student Answers
Thanks Warren. That's a very useful utility, and a very nice and quick way to test files before submission. I just have a suggestion to make it work with all types of archives via Extract::Archive perl module, for example with the use of the following subroutine: