-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
When a test case fails currently, the reason for the assertion failure is printed in full, along with other potentially confusing information for students.
Describe the solution you'd like
It would be great to have a way to specify an error message for each assert, and have that error message be the only thing that gets output if the assert fails.
Describe alternatives you've considered
A function-wide error message decorator could work, but would lack the nuance of being able to give the student what their output was, or having different messages for asserts for different incorrect outputs.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request