gradescope / gradescope-utils

Python package for building Gradescope autograders
https://gradescope-utils.readthedocs.io/en/latest/
MIT License
34 stars 25 forks source link

Support for `unittest` subtests #22

Closed lrperlmu closed 3 years ago

lrperlmu commented 3 years ago

Is your feature request related to a problem? Please describe. gradescope-utils does not produce output for subtests (for definition of subtest, see https://docs.python.org/3/library/unittest.html#distinguishing-test-iterations-using-subtests)

Describe the solution you'd like Output a separate json object for each subtest, so that each subtest appears in the json output just like each test.

Describe alternatives you've considered

Additional context gradescope-utils is a nice, useful package, thanks for developing it :)

lrperlmu commented 3 years ago

oops this is a duplicate of #5