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

Display doctest results in same format as test results in Dodona feedback #674

Open
pdawyndt opened this issue Apr 8, 2024 · 0 comments

Comments

@pdawyndt
Copy link
Contributor

pdawyndt commented Apr 8, 2024

Reporting of doctest results is compatible with the format used to display the Dodona feedback. It would therefore feel natural to show those results Dodona-style. This can be done by subclassing the class doctest.DocTestRunner, and overriding the methods report_start(), report_success(), report_unexpected_exception(), and report_failure().

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

No branches or pull requests

1 participant