Creating Capture Points Tests
Capture Points Test allow you to use any custom grading script in CodeGrade and parse its output.
With a Capture Points test you can easily run and integrate your own grading scripts. A Capture Points Test captures the output of the executed program with a Python3 Regular Expression. This output should be a floating point number between 0 and 1.
Simple Capture Points tests with a custom test script uploaded as a fixture
- 1.Press the "Add Capture Points" button to add a new Capture Points test to your Test Category.
- 2.Input which program you want to execute.
- 3.Specify the Python3 Regex with which you want to capture the output. By default this captures a single float. This number is multiplied by the weight to get the amount of points.