nginx-proxy-auto-docker/test
Branden Cash cc10cc1850 Attempt to write a test for the for the virtual host syntax (couldn't get the bats working locally in OS X...1) doesn't support -r argument for xargs 2) after hanging for a long time, existing tests gave me:
-- output differs --
   expected (1 lines):
     answer from port 80 90
   actual (4 lines):
     Command "curl
     --silent
     --fail
     http://172.17.0.32:80 90/data" failed 5 times. Status: 7. Output:

so obviously there is some other stuff in there that doesn't appear to play nice with OS X :(
2016-06-01 11:06:40 -07:00
..
lib Merge pull request #298 from kamermans/master 2016-05-01 17:45:45 -06:00
default-host.bats Update to docker-gen 0.7.0 2016-03-23 17:45:34 +01:00
docker.bats Update to docker-gen 0.7.1 2016-05-04 14:51:30 -06:00
multiple-hosts.bats Update to docker-gen 0.7.0 2016-03-23 17:45:34 +01:00
multiple-ports.bats Attempt to write a test for the for the virtual host syntax (couldn't get the bats working locally in OS X...1) doesn't support -r argument for xargs 2) after hanging for a long time, existing tests gave me: 2016-06-01 11:06:40 -07:00
README.md add test suite. See #197 2015-09-29 23:46:36 +00:00
ssl.bats Using different path method to hopefully fix cert volume issue in CI systems 2016-04-20 12:47:14 -04:00
test_helpers.bash Added SSL/HTTPS tests 2016-04-20 12:20:08 -04:00
wildcard-hosts.bats Update to docker-gen 0.7.0 2016-03-23 17:45:34 +01: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/