dodona-edu / judge-java

JUnit-based Java judge for the Dodona learning environment
MIT License
1 stars 1 forks source link

Interactive: Log stdout when exceptions occur #10

Closed thepieterdc closed 5 years ago

thepieterdc commented 5 years ago

This PR enables logging of stdout in an Interactive test when exceptions occur. This allows the student to debug by placing prints.

Furthermore, Interactive#outputAsLines() was added, which retrieves the contents of stdout as an array, in which every item corresponds to a line in the output.