Closed armanbm177 closed 8 months ago
you need to only allow non-fully-qualified test numbers when there is exactly one part specified.
That is
-l 1 -p 2 -n 4
should work, but-l 1 -p 2,3 -n 4
should not.
This makes sense to me. Is it ok to only put this check in the python script, or do we enforce these things in both python and java?
Either/both is fine. There could be more input validation and better error messages for the student facing scripts in general :-)
Enabled multiple part nums to be run in sequence for run-tests.py. Inspired by the lab 4 part 3 exploit, that doesn't require a working part 2 to get a majority of part 3 points.
Example terminal commands: ./run-tests.py -l 4 -p 2,3