bashunit icon indicating copy to clipboard operation
bashunit copied to clipboard

Syntax error does not fail the test but stops the runner

Open Chemaclass opened this issue 2 years ago • 0 comments

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 avatar Nov 09 '23 19:11 Chemaclass