Hi Richard,
Thanks for your prompt and helpful reply. That's just the steer that I was looking for! I think I've got a framework now with which to implement a set of questions for a Java course I'm teaching into. Using CodeRunner, I'll be able to use a mix of functional testing and code analysis.
CodeRunner is an interesting and versatile tool.
I trust all is well with you.
Thanks again.
Ian