On CodeHS, you have two options for autograding Java assignments: the Java Autograder and the JUnit Autograder.

Both autograders have their strengths, and the choice depends on the type of assessment you want to create.

If you need to inspect the structure of student code in addition to testing functionality, the Java Autograder is the better choice. If you want to evaluate student code using formal unit tests and/or have private sector coding experience, the JUnit Autograder provides an approach more consistent with industry norms.

Creating Java Autograders

Creating JUnit Autograders