Moodle question type for JUnit testing student code
PHP CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
db
ext/ace/src-min-noconflict
lang
pix
scss
tests
yui/loader
README.md
edit_unittest_form.php
junit_parser.php
lib.php
polfile
question.php
questiontype.php
renderer.php
settings.php
styles.css
version.php

README.md

Moodle Unit Test Question

This is a plugin for Moodle that adds a new question type where your students will be able to type in source code - just Java for now - and have the server compile it, run it, and check it against a JUnit test file.

The jumping off point came from two previous Moodle plugins - sojunit and javaunittest. Much credit goes to the authors of those two plugins. Unfortunately, neither was exactly what I was looking for so I've cloned the javaunittest git repo as a starting point.

Ultimately I'd like to have this question type grade more than just Java, but for now that's what's there.