From 15ee983b0fefe8fe8140ec6c9e0d55dbf009e230 Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Mon, 7 Jun 2021 11:29:01 -0700 Subject: [PATCH] tests: add instructions to run a single test Signed-off-by: Andrea Luzzardi --- tests/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/README.md b/tests/README.md index e3f7f41a..5d4bb2de 100644 --- a/tests/README.md +++ b/tests/README.md @@ -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/.bats" -f "" +```