Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for unittest subtests #22

Closed
lrperlmu opened this issue May 15, 2021 · 1 comment
Closed

Support for unittest subtests #22

lrperlmu opened this issue May 15, 2021 · 1 comment

Comments

@lrperlmu
Copy link

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

  • I could avoid using subtests -- I lose some of the power of the unittest framework
  • Construct my json output by hand instead of using gradescope-utils

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

@lrperlmu
Copy link
Author

oops this is a duplicate of #5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant