Setting up AutoTest¶
If you want to automatically grade your assignment, you can use AutoTest to do so. AutoTest will automatically fill in rubric categories by running tests on submissions. These tests are run automatically on our secure and reliable AutoTest servers in the cloud.
Go to the Assignment Management page by clicking on the icon.
Navigate to the AutoTest page.
Firstly, let’s setup the AutoTest run:
Select the rubric calculation mode.
- Minimum: a category’s item will be chosen when the lower bound of this item is reached (e.g. when a category has 4 items and 75% of the tests succeed, the maximum item is filled in).
- Maximum: a category’s item will be chosen when the upper bound of this item is reached (e.g. you need 100% passed tests to have the maximum item filled in).
Upload your fixtures (this could be unit tests, setup scripts or anything else you need). These fixtures will be available through the
Optionally input a global setup script to run, for example to install packages you might need. Click here to see which packages are installed by default.
Optionally input a per student setup script to run, for example to compile the students’ code. Do all of your global setup in the global setup script, as this speeds up the AutoTest run.
Add a level to put your AutoTest categories in.
For most use cases just one level is enough to do all your automatic grading with.
Add your AutoTest categories.
Now that AutoTest is set up, you can run it. Simply press the run button to start the AutoTest run.