Testsystem
General information
We are using a testsystem on to check and grade your assignments. Your code is tested on actual hardware to ensure for the best possible results.
The points generated by the testsystem are preliminary - the final points will be determined in the exercise interview.
Coins: Bonus points
You can earn bonus points by collecting coins in the testsystem. For each hour you submit an assignment before the deadline, you will receive one coin (limited to 100 coins per assignment). These coins will result in bonus points: 50 coins equal 1 bonus point.
Bonus points will only be applied after you reached at least 50 regular points
Testsystem report
The testsystem is integrated into GitLab. After you push changes to your repository, the testsystem will automatically start testing your code.
Your current test results will be displayed in a badge on the right side of your GitLab repository. You have to reload the page to see the updated results.
If you tag an assignment, the testsystem badge will show a small tag icon. Coins will only be added once a commit is tagged.
Test pipeline
The testsystem runs a pipeline for every push to your repository. You can see the pipeline status in your GitLab repository. A green checkmark means that the pipeline was successful, a red cross means that the pipeline failed.
Click on the test
stage to have a look at the pipeline output to see if you passed the testcases. Your pipeline output will look similar to this:
All pipeline jobs are queued until they are tested. You can expect to wait a couple of minutes when many students are commiting simultaneously
Testcases
Your code is tested against predefined testcases. Each testcases consists of one or more test features, every one of them has to pass to receive points for the testcase.
Some testcases require other testcases to pass before they will be run. Make sure to implement basic functionality first.
All test cases and features are named to give you a small hint what is working and what might be causing problems.