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

Show failure_message without showing the actual test #429

Closed
joelostblom opened this issue Oct 14, 2021 · 1 comment
Closed

Show failure_message without showing the actual test #429

joelostblom opened this issue Oct 14, 2021 · 1 comment
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@joelostblom
Copy link
Contributor

joelostblom commented Oct 14, 2021

I want to use public tests to give students a hint of what is wrong, without giving away the answer. It would be great if there was an option to only print the failure_message without also printing the actual test in both R and Python. For Python both the test and the traceback is printed (as reported in #419). In R, the test is printed, as can be seen in the screenshot below:

image

The failure message is the first line and the actual test the second line, an option to hide the test so that students don't see the answer would be great. Apologies if this is already present, I could not find it in the docs or any open issues about it.

Otter 3.1.4, Python 3.9.7 Ottr 1.1.3

@joelostblom joelostblom added the enhancement New feature or request label Oct 14, 2021
@stale
Copy link

stale bot commented Dec 13, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant