How to automatically copy autograding files onto the students' repository?

200 views Asked by At

I am teaching a course in C++. For automatic homework grading, I use a system that works as follows:

  1. Clones the student's repository from GitHub;
  2. Copies the test files from my repository on top of the student's code;
  3. Runs the tests, computes the grade and records it.

Now, I would like to switch to using Github Classroom, but I do not understand how their autograding feature works. In particular, when I try to add a test-case, I can enter the test name and command, but there is no place to enter the files with all the tests:

enter image description here

I thought that maybe I have to put my tests in the "template repository" that is given to the students. The problem is that students can delete tests that they do not manage to pass, so that they get 100. With 250 students and over 400 tests per exercise, it is nearly impossible to detect such deletions.

Is there a way to tell Github Classroom to copy my files on top of the repository submitted by the student, so that I can be sure that my tests are the ones that are executed?

0

There are 0 answers