TypedDevs / bashunit

A simple testing library for bash scripts. Test your bash scripts in the fastest and simplest way, discover the most modern bash testing library.
https://bashunit.typeddevs.com
MIT License
271 stars 21 forks source link

Add --stop-on-failure option #184

Closed Chemaclass closed 8 months ago

Chemaclass commented 8 months ago

📚 Description

Issue: https://github.com/TypedDevs/bashunit/issues/144

🔖 Changes

Add a new option --stop-on-failure that will force to stop the runner right after encountering one failing test.

Inspired by PHPUnit: https://docs.phpunit.de/en/10.3/configuration.html#the-stoponfailure-attribute