<aside>
💡 Note: This guide does not include standard Java Autograders.
Visit our Java Autograder Guide for more information on standard autograders.
</aside>
<aside>
❓Not sure if you should use a Java Custom Autograder or a JUnit Autograder?
Visit Creating Java and JUnit Autograders
</aside>
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.
From the edit modal, Scroll to the bottom of the Activity Tab and click on Custom Autograder Edit.
You will have the option to Add Custom Autograder or Add JUnit Autograder. For this guide, we will use the JUnit Autograder.
The autograder will contain four files. You should only need to edit the main file, JUnitExampleTest.java
. The other files should remain in the autograder to ensure the tests are run correctly.