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

Hide error messages #25

Merged
merged 5 commits into from
Aug 15, 2022
Merged

Hide error messages #25

merged 5 commits into from
Aug 15, 2022

Conversation

peterstory
Copy link
Contributor

I've added a @hide_errors(True) decorator.

This can be used to hide the particular source of an error which caused a test to fail. Otherwise, a test's particular assertions can be seen by students.

@isaacl
Copy link
Contributor

isaacl commented Jan 29, 2022

I guess this repo is dead...

Copy link
Contributor

@ibrahima ibrahima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution! Just had one minor suggestion, which I'll go ahead and apply and merge this in. Thank you!

gradescope_utils/autograder_utils/json_test_runner.py Outdated Show resolved Hide resolved
@peterstory peterstory requested a review from a team as a code owner August 15, 2022 17:02
Copy link
Contributor

@ibrahima ibrahima left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tweaked to allow customizing the failure error message.

@ibrahima ibrahima merged commit 9e3ef92 into gradescope:master Aug 15, 2022
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

Successfully merging this pull request may close these issues.

3 participants