softwareconstruction240 / autograder

Autograder for BYU's CS 240 Chess project
https://cs240.click
2 stars 2 forks source link

375 backend server printing to standard out can intermingle with other test output #377

Closed 19mdavenport closed 1 month ago

19mdavenport commented 1 month ago

This fixes the error where student code printing to standard out could intermingle with junit test output and cause tests that passed to appear to fail to the autograder image

To fix this, I changed the output of junit from standard out to an xml file and then read from the xml file. This change hopefully changes very little that the students will see (unavoidably the output of parameterized tests looks different now), except extra credit tests are set separate from the rest of tests and displayed at the bottom of test output to give extra distinction between required tests and extra credit tests.