You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -119,6 +120,8 @@ You may write a *teardown* function that will be exectuted after each test is ru
119
120
120
121
If you need to set someting up only once for all tests, simply write your code outside any test function, this is a bash script.
121
122
123
+
bash_unit changes the current working directory to the one of the running test file. If you need to access files from your test code, for instance the script under test, use path relative to the test file.
124
+
122
125
You may need to change the behavior of some commands to create conditions for your code under test to behave as expected. The *fake* function may help you to do that, see bellow.
0 commit comments