File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -170,7 +170,9 @@ You may write a *teardown_suite* function that will be executed only once after
170170
171171If you write code outside of any bash function, this code will be executed once at test file loading time since
172172your file is a bash script and *bash_unit* sources it before running your tests. It is suggested to write a
173- *setup_suite* function and avoid any code outside a bash function.
173+ *setup_suite* function and avoid any code outside a bash function. you must not use any bash_unit assertion
174+ in setup_suite or use exit in setup_suite for teardown_suite to be run.
175+ See https://github.com/pgrange/bash_unit/issues/43[issue 43] for more details.
174176
175177If you want to keep an eye on a test not yet implemented, prefix the name of the function by *todo* instead of test.
176178Test to do are not executed and do not impact the global status of your test suite but are displayed in *bash_unit* output.
You can’t perform that action at this time.
0 commit comments