1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add mention of integration tests in Docker containers (#16661)

It is quite convinient and easy to run integration tests in Docker containers.

I hope it can motivate more people to write integration tests.
This commit is contained in:
Gennady Trafimenkov 2016-09-01 03:25:53 +04:00 committed by Michael Scherer
parent 6e65ebda26
commit 2e857cfafd

View file

@ -90,3 +90,24 @@ Define Windows inventory:
Run the tests: Run the tests:
make test_winrm make test_winrm
Tests in Docker containers
==========================
It is possible to run tests in Docker containers.
For example, to run test `test_ping` from non_destructive suite on Ubuntu 14.04 container:
- go to the repository root
- and execute `TARGET=ubuntu1404 MAKE_TARGET=non_destructive TEST_FLAGS='--tags test_ping' ./test/utils/run_tests.sh`
Available targets (containers):
- centos6
- centos7
- fedora-rawhide
- fedora23
- opensuseleap
- ubuntu1204
- ubuntu1404
- ubuntu1604