Java Unit testing (Automated code marking)

This is a question type that can be added to the Quiz tool, for example. It is useful for Computing students to test them on their knowledge of Java.

In the question the tutor provides a partial code (skeleton answer) and the student is asked to fill the rest in.

The tutor writes a JUnit test class which is code that actually tests the code that the student submits.  This moves processing off but allows students to answer questions within environment. 

Try out an example of automated code marking.

» Quick help