1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-12-25 12:06:31 +00:00
nginx-proxy/test
Thomas LEVEIL 4bd30f5d2c add test suite. See #197
This test suite is implemented using [bats](https://github.com/sstephenson/bats).

Not all features are tested. For instance ssl features and custom nginx config are missing. Probably others.

This test suite won't work with TravisCI. Too many evenings were wasted trying to overcome [issues](http://stackoverflow.com/questions/32846800/travis-fails-to-stop-docker-containers) that arises only on the TravisCI platform. However it runs on [CircleCI](https://circleci.com) which is also free for opensource projects.
2015-09-29 23:46:36 +00:00
..
lib add test suite. See #197 2015-09-29 23:46:36 +00:00
default-host.bats add test suite. See #197 2015-09-29 23:46:36 +00:00
docker.bats add test suite. See #197 2015-09-29 23:46:36 +00:00
multiple-hosts.bats add test suite. See #197 2015-09-29 23:46:36 +00:00
multiple-ports.bats add test suite. See #197 2015-09-29 23:46:36 +00:00
README.md add test suite. See #197 2015-09-29 23:46:36 +00:00
test_helpers.bash add test suite. See #197 2015-09-29 23:46:36 +00:00
wildcard-hosts.bats add test suite. See #197 2015-09-29 23:46:36 +00:00

Test suite

This test suite is implemented on top of the Bats test framework.

It is intended to verify the correct behavior of the Docker image jwilder/nginx-proxy:bats.

Running the test suite

Make sure you have Bats installed, then run:

docker build -t jwilder/nginx-proxy:bats .
bats test/