Get help with GitHub Classroom

Using GitHub Classroom autograding

GitHub Classroom autograding runs tests on student work to help teachers grade assignments and to give students more immediate feedback.

Autograding tests run in a virtual environment in GitHub Actions. Classroom creates GitHub Actions workflows to run tests for you. No GitHub Actions experience is required.

How it works

  1. Add tests to an assignment. You can use a testing framework, run a custom command, write input/output tests, or combinations of different tests.

  2. When students push to GitHub, tests run automatically. Students can review the results, edit their work, and try again.

  3. Review the assignment dashboard to see which students or groups are passing or failing the autograding tests. You can give more attention to students who need help or use the results to evaluate assignments.

Get started