Assessed Exercise 2: Tester |
I have set up a small testing scripts for the second assessed coursework (note this is not the full test suite that will be used in evaluating submissions). The tests live on the following machine. inf900179.inf.susx.ac.uk You log into this machine using a secure shell (ssh) in a two hop process as follows.
Here BTW, if you are on Windows, you can use a tool like winSCP (installed on lab computers) or PuTTY (https://www.putty.org/) to log into remote machines (PuTTY is already installed on lab machines, too). Setting up tests for Task 1.
Running tests for Task 1.
Tasks 2 and 3. You
proceed just as with Task 1 above, but replace occurrences of
the number 1 by 2 and 3, e.g. Copying data to / from the tester machine.
Copying files from the intermediate machine to the machine
with the tester scripts can be done with
the scp MySolutions.zip inf900179.inf.susx.ac.uk:Note that scp is a mnemonic for "secure
copy". Naturally, you can also copy data the other way
(from the tester machine to some other internet connected
computer).
Note. I have only tried out the test suite against my own example solutions. There may be various glitches when compiled against other solutions. If you encounter problems that you think are not caused by your solution, please let me know. |