Question Authors' Forum

How to change the output result of CodeRunner?

How to change the output result of CodeRunner?

de către Zhang Jeremy-
Număr de răspunsuri: 0

Hello there, I am a complete new beginner of CodeRunner on Moodle. I have downloaded the folder of CodeRunner from Github, but can't really understand how it works because there are so many folders and different files in it.

Here i have a question that what if I want to change the output result of CodeRunner from "Passed all tests" to something like "Passed 5/5 tests" when the code that the student submmit has passed all the 5 tests cases. And what if I want to change the result to "Passed 4/5 tests" when the code only passes 4 of the 5 tests cases.

I just have no idea of how and where to change the code of CodeRunner, can you give some help on how to do it or where or how I can try to understand the code?