1
0
docker-letsencrypt-nginx-pr.../test
Nicolas Duchon 09a78d88e4
Merge pull request #977 from nginx-proxy/dependabot/docker/alpine-3.17.0
chore(deps): Bump alpine from 3.16.3 to 3.17.0
2022-12-23 19:16:18 +01:00
..
github_actions CI/CD: Test against both Boulder and Pebble 2020-12-28 11:31:20 +01:00
setup feat: use EAB if available no matter the ACME CI (#981) 2022-12-06 12:28:48 +01:00
tests Merge pull request #977 from nginx-proxy/dependabot/docker/alpine-3.17.0 2022-12-23 19:16:18 +01:00
config.sh feat: use EAB if available no matter the ACME CI (#981) 2022-12-06 12:28:48 +01:00
README.md chore: project name change 2021-04-05 00:27:52 +02:00
run.sh chore: project name change 2021-04-05 00:27:52 +02:00

acme-companion test suite

The test suite can be run locally on a Linux or macOS host.

To prepare the test setup:

git clone https://github.com/nginx-proxy/acme-companion.git
cd acme-companion
test/setup/setup-local.sh --setup

Then build the docker image and run the tests:

docker build -t nginxproxy/acme-companion .
test/run.sh nginxproxy/acme-companion

You can limit the test run to specific test(s) with the -t flag:

test/run.sh -t docker_api nginxproxy/acme-companion

When running the test suite, the standard output of each individual test is captured and compared to its expected-std-out.txt file. When developing or modifying a test, you can use the -d flag to disable the standard output capture by the test suite.

test/run.sh -d nginxproxy/acme-companion

To remove the test setup:

test/setup/setup-local.sh --teardown