Merge pull request #578 from aluzzardi/test-single

tests: add instructions to run a single test
This commit is contained in:
Andrea Luzzardi 2021-06-07 13:15:24 -07:00 committed by GitHub
commit 43714c56d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,3 +23,11 @@ yarn test
By default, the `dagger` binary is expected to be found in `../cmd/dagger/dagger` relative to the `tests` directory.
If you need to change this, pass along `DAGGER_BINARY=somewhere/dagger`
## Run a single test
To run a single test:
```shell
make && ./tests/node_modules/.bin/bats "./tests/<TESTFILE>.bats" -f "<TESTNAME>"
```