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

Syntax error does not fail the test but stops the runner #220

Open
Chemaclass opened this issue Nov 9, 2023 · 0 comments
Open

Syntax error does not fail the test but stops the runner #220

Chemaclass opened this issue Nov 9, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Chemaclass
Copy link
Member

Chemaclass commented Nov 9, 2023

Summary

Avoid silent errors. Aim to fail fast and loud.

Current behavior

When encountering a syntax within a test, it should endup with a failure instead of a silence stop.
See the macos tests in this CI:

Screenshot 2023-11-09 at 12 05 57

How to reproduce

See the current behaviour above, and see the example here from this fix PR so the previous code will reproduce it.

Expected behavior

A syntax error will endup in a failing test.

@Chemaclass Chemaclass added the bug Something isn't working label Nov 9, 2023
@Chemaclass Chemaclass moved this to Todo in bashunit Jul 19, 2024
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
Status: Todo
Development

No branches or pull requests

1 participant