mitodl / mitx-grading-library

The MITx Grading Library, a python grading library for edX
https://edge.edx.org/courses/course-v1:MITx+grading-library+examples/
BSD 3-Clause "New" or "Revised" License
14 stars 9 forks source link

Custom Response Test Script #47

Closed jolyonb closed 5 years ago

jolyonb commented 6 years ago

It would be good to have a way to run through all of the problem files in an edX course, determine which of them contain python scripts, and make sure those scripts instantiate. We could also allow for a special comment to be included in a custom script that our script can then use to test that the grader actually works.

ChristopherChudzicki commented 6 years ago

Potentially useful: I wrote a class last summer to extract and run Python from edX XML last summer.

https://github.mit.edu/chudzick/jsinput-emulator/blob/master/problems.py

(Requires an MIT login.)

jolyonb commented 5 years ago

I'll point to my edx XML cleaner as a better avenue to implement something like this.