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 unexpected exceptions (other than AssertionError etc.) in console #115

Open
Danghor opened this issue Sep 28, 2022 · 0 comments
Open
Assignees
Labels
feature request size:M This can be dealt with in a few days
Milestone

Comments

@Danghor
Copy link

Danghor commented Sep 28, 2022

Currently, any exception in a unit test results in the test failing and the exercise marked as wrong for the student.

However, there could also be an error in the test itself, rather than the student being wrong. This is currently hidden from the console, the exception is only visible when manually reviewing the rubrics. Errors in the tests might never be detected this way.

Therefore, when a test throws something different from an AssertionError, AssertionFailedException etc., this should be clearly visible when executing the grader.
Failed tests caused by AssertionErrors etc. can be ignored, but any other Exception (e.g. NullPointerException) that occurs in a test should be visible in red in the console, so the tutor can review the tests and correct the error.

@dst97 dst97 self-assigned this Oct 7, 2022
@dst97 dst97 added this to the v0.6 milestone Oct 7, 2022
@alexstaeding alexstaeding modified the milestones: v0.6, v0.7 Oct 17, 2022
@alexstaeding alexstaeding added feature request size:M This can be dealt with in a few days labels Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request size:M This can be dealt with in a few days
Projects
None yet
Development

No branches or pull requests

3 participants