Added container-runners.py to test against different environments

This commit is contained in:
Douglas Gibbons
2020-02-03 20:38:49 -08:00
parent ea95fd208b
commit 035b80087a
4 changed files with 69 additions and 13 deletions

18
test/README.md Normal file
View File

@ -0,0 +1,18 @@
# Tests for wait-for-it
* wait-for-it.py - pytests for wait-for-it.sh
* container-runners.py - Runs wait-for-it.py tests in multiple containers
* requirements.txt - pip requirements for container-runners.py
To run the basic tests:
```
python wait-for-it.py
```
Many of the issues encountered have been related to differences between operating system versions. The container-runners.py script provides an easy way to run the python wait-for-it.py tests against multiple system configurations:
```
pip install -r requirements.txt
python container-runners.py
```