tests: add instructions to run a single test
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
e3ee7f2568
commit
15ee983b0f
@ -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.
|
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`
|
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>"
|
||||||
|
```
|
||||||
|
Reference in New Issue
Block a user