<aside>

💡 Note: This guide does not include JUnit Autograders. Visit our JUnit Autograder Guide for more information on using JUnit tests.

</aside>

<aside>

❓Not sure if you should use a Java Custom Autograder or a JUnit Autograder?

Visit Creating Java and JUnit Autograders

</aside>

Overview

Autograders in Java rely on reading methods and output from the different class files that students use to complete each exercise. You can access your custom exercises from the Create Page or the Assignments Page.

💡 Tip: If you have multiple assignments with similar autograders, consider duplicating an existing assignment and modifying the autograder rather than creating one from scratch.

Navigating from the Create Page

  1. Click Create New Assignment or choose an assignment that you've already created.
  2. To the far right of the assignment name, click ... > Edit
  3. In the following window, select Autograder from the navigation menu and click Edit Autograder. If there currently are no autograders on that assignment, the button will say Create Autograder instead.
  4. Find the autograder files on the left-hand menu under Custom Autograders and begin making your changes. If there are no autograders, click Add to create one.
  5. Don't forget to click Save Autograder Config when you're finished!

Navigating from the Assignments Page

  1. Create a New Assignment or choose an assignment that you've already created.
  2. To the right of the assignment name, click [Edit].
  3. In the following window, select Autograder from the navigation menu and click Edit Autograder. If there currently are no autograders on that assignment, the button will say Create Autograder instead.
  4. Find the autograder files on the left-hand menu under Custom Autograders and begin making your changes. If there are no autograders, click Add to create one.
  5. Don't forget to click Save Autograder Config when you're finished!