Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyperupcall/bats-all
Aggregation of the three most popular Bats utility libraries
https://github.com/hyperupcall/bats-all
basalt bash bash-testing bats shell testing
Last synced: 2 months ago
JSON representation
Aggregation of the three most popular Bats utility libraries
- Host: GitHub
- URL: https://github.com/hyperupcall/bats-all
- Owner: bash-bastion
- License: bsd-3-clause
- Created: 2021-10-01T05:49:29.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-30T04:57:12.000Z (about 1 year ago)
- Last Synced: 2024-05-22T08:22:24.785Z (6 months ago)
- Topics: basalt, bash, bash-testing, bats, shell, testing
- Language: Shell
- Homepage:
- Size: 303 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# bats-all
An aggregation of the three most popular [Bats](https://github.com/bats-core/bats-core) utility libraries
## Summary
The three repositories are managed with `git-subtree(1)`. They are the following:
- [bats-core/bats-support](https://github.com/bats-core/bats-support)
- [bats-core/bats-assert](https://github.com/bats-core/bats-assert)
- [bats-core/bats-file](https://github.com/bats-core/bats-file)## Installation
### With npm
```sh
npm install --save-dev @hyperupcall/bats-all
```### With Basalt
Use [Basalt](https://github.com/hyperupcall/basalt), a Bash package manager, to add this project as a dependency
```sh
basalt add hyperupcall/bats-all
```You need to source this project manually (`basalt.load 'github.com/hyperupcall/bats-alls' 'load.bash'`) within your tests. Entries are not added to this projects' `sourceDirs` because that would mean this library would be sourced, even when not testing
### With Git
Using `git-submodules(1)`:
```sh
git submodule add https://github.com/hyperupcall/bats-all ./vendor/bats-all
```Using `git-subtree(1)`:
```sh
git subtree --squash -P vendor/bats-all add https://github.com/hyperupcall/bats-all HEAD
```## License
Original code is licensed under `CC0-1.0`. Modifications are licensed under `BSD-3-Clause`