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
Contributed bash functions are most welcome! The more we share the less we
191
+
duplicate each other. In order to keep this repo tidy, every function must be
192
+
documented in the readme and tested, the lint scripts enforce these rules.
193
+
194
+
1. Add the libraries or functions that you need
195
+
1. Add BATS tests for all new top level functions
196
+
1. Add descriptions for each function to the contents table in this readme
197
+
1. Run ./run-tests to ensure all tests pass before submitting
198
+
1. Create a PR
199
+
1. Wait for review
185
200
186
201
## Testing
187
202
Tests are written using [BATS](https://github.com/bats-core/bats). Each libould have a `lib-name.bats` file in [tests-for-this-repo](/tests-for-this-repo).
@@ -207,4 +222,7 @@ Example:
207
222
}
208
223
```
209
224
210
-
Test fixtures should go in /tests-for-this-repo/[fixtures](tests-for-this-repo/fixtures)/lib-name.
225
+
Test fixtures should go in /tests-for-this-repo/[fixtures](tests-for-this-repo/fixtures)/lib-name.
0 commit comments