Hi Richard,
I have been experimenting with CodeRunner, using Python and Java class question types.
CodeRunner is working well for testing the Java classes I want students to write, but I'm wanting to do something a bit different. Essentially, in addition to testing class functionality, I'm wanting to parse students' source code to carry out some tests that rely on analyzing their source code. I am using a Python library that parses Java source code.
Based on an earlier post and your videos, I can see how to access the students' source code in the customization area of a CodeRunner question /question type. However, if I specify the question type to be Java, the customization code must also be implemented in Java (?).
Are you able to suggest a way that I can use CodeRunner to accept Java source submissions but to allow me to process them using Python? I was thinking of something like a Python question type that reads a Java source file supplied by the student. Do you think this is workable, or is there a simpler / alternate technique that you would suggest?
Thanks.
Ian