Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 985 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 985 Bytes

Running tests

Unit and integration tests live here. When a pull request is submitted, tests are automatically executed on Travis to test the submitted code.

Running tests locally requires cloning the Ansible Container repo, and setting up your environment to run from source. See the Installation Guide for assistance.

You will also need the latest Ansible installed from source. See Ansible's running from source guide for assistance.

Test execution is initiated by running the following:

# Set your working directory
$ cd ansible-container

# Start tests
$ python ./setup.py test 

Test execution occurs exactly the same way on Travis as it does in a local development environment. So if tests run successfully in your local environment, they should run successfully on Travis.

Thanks for trying out Ansible Container!