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

Bug: No Output When Command Fails to Run Due to Mistake in --mark Argument #6

Open
hemanialaparthi opened this issue Sep 12, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@hemanialaparthi
Copy link
Collaborator

When a student runs the following command:

poetry run execexam . tests/ --mark "question_one_part_a" --fancy

The test runs successfully, and the expected output is provided. However, if there is a mistake in the --mark argument, for example:

poetry run execexam . tests/ --mark "question_one_part_" --fancy

There is no output indicating whether the test failed to run due to an incorrect mark name or some other issue. As a result, students are left confused, unable to determine whether their test didn't run because of an error in their program or because of a mistake in the file name/mark argument.

Expected Behavior

There should be an explicit message or error output informing the user that the test didn't run due to an invalid --mark argument. This way, students will know to check the argument for mistakes, rather than assuming the issue lies in their code.

@gkapfham
Copy link
Collaborator

Hi @hemanialaparthi, thanks for raising this bug! This is an important problem to resolve and I agree that I have also faced this issue. Can you give an example of the output that you see when you think that this defect is triggered?

@gkapfham gkapfham self-assigned this Oct 28, 2024
@gkapfham gkapfham added the bug Something isn't working label Oct 28, 2024
@boulais01
Copy link
Collaborator

@hemanialaparthi Would you mind providing examples of the issue vs. expected and if there's been any progress on this bug?

@boulais01
Copy link
Collaborator

Hello @hemanialaparthi, do you have any updates on this or examples?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants