What we previously referred to as “Autograders” are now called “Test Cases.” A Test Case is a test that runs on a student program to determine whether or not it can be submitted.
How It Works:
When a student hits the ‘Submit Code’ button, the Test Cases are run, and if any fail, the student is prevented from submitting their code for grading.
Students can check their code and see the Test Cases directly within their editor page under the Test Cases tab (as shown below).
Creating Your Own Test Cases:
With CodeHS Create, you can define your own Test Cases for an assignment you create for your students. These Test Cases are different for every language. In each case, you’ll be able to test the content of the student’s code, as well as the result that their code produces, whether that is a graphics canvas, a string or a webpage.