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 b691c95f2c fix(tests): Improve the verification of local kubernetes cluster to ignore "kind: Config" field of kubeconfig
fix(tests): Update documentation
fix(tests): Enable kubernetes tests

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-16 16:10:58 +02:00
..
cli input: support file/stdin source for text/json/yaml 2021-04-15 13:04:52 -07:00
compute added comment about always flag + cue fmt 2021-04-15 12:34:15 -07:00
examples/react tests: fix react example test 2021-04-08 18:48:23 -07:00
ops tests: ops: use proper imports 2021-04-14 16:44:34 -07:00
stdlib tests(stdlib/k8s/helm): test basic helm chart 2021-04-15 14:24:42 +02:00
cli.bats input: support file/stdin source for text/json/yaml 2021-04-15 13:04:52 -07:00
compute.bats tests: migrate compute tests to bats 2021-04-15 15:55:51 -07:00
examples.bats test: react example: use dagger up instead of compute 2021-04-15 15:09:39 -07:00
helpers.bash fix(tests): Improve the verification of local kubernetes cluster to ignore "kind: Config" field of kubeconfig 2021-04-16 16:10:58 +02:00
ops.bats tests: migrate ops test to bats 2021-04-14 16:15:04 -07:00
package.json tests: improve bats/gh integration 2021-04-15 00:48:49 -07:00
README.md fix(tests): Improve the verification of local kubernetes cluster to ignore "kind: Config" field of kubeconfig 2021-04-16 16:10:58 +02:00
stdlib.bats fix(tests): Improve the verification of local kubernetes cluster to ignore "kind: Config" field of kubeconfig 2021-04-16 16:10:58 +02:00
yarn.lock tests: use bats for integration tests 2021-04-14 15:18:34 -07:00

Testing

TL;DR

# Install dependancies
yarn --cwd . install

# Run all tests
yarn --cwd . 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