Refreshing tests after pressing "check" button

Refreshing tests after pressing "check" button

de către Leonardo Mogianesi-
Număr de răspunsuri: 0

I had to modify the coderunner source code to send the student's response in JSON form to a server each time the "check" button is pressed, but this creates problems with the tests, because each time it is pressed the data is correctly sent to the server but the tests are no longer executed.

I don't understand how to fix it, what I would like to get to do is:

1) I press the check button and the data is sent to the server (already working).

2) The page is refreshed.

3) The tests on the code written by the student start.

I know that changing the source code is never recommended, but to send data to a server it seems to me the only possible solution.

Thanks in advance for your answers.