This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/tests
Tom Chauveau a00fbb0f68
Update op.#PushContainer test to use secrets
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 13:04:57 +02:00
..
cli dagger input bool implementation 2021-08-24 16:07:28 +02:00
compute
core/inputs-outputs
ops Update op.#PushContainer test to use secrets 2021-08-31 13:04:57 +02:00
stdlib/terraform/s3
cli.bats dagger input bool implementation 2021-08-24 16:07:28 +02:00
core.bats Improve dagger input UX (solve #874) 2021-08-17 17:13:30 +02:00
helpers.bash Move private repository tests + implement env helper function 2021-08-27 14:41:31 +02:00
ops.bats Update op.#PushContainer test to use secrets 2021-08-31 13:04:57 +02:00
package.json
README.md
yarn.lock

Testing

TL;DR

# Install dependencies
yarn install

# Install gnu parallel if needed
# macOS
brew install parallel
# Debian derivatives
# apt-get install parallel

# Install sops if needed
# macOS
brew install sops

# Run all tests
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:

make && ./tests/node_modules/.bin/bats "./tests/<TESTFILE>.bats" -f "<TESTNAME>"