Proof of concept: Docker module state: reloaded testing

Hello,

To avoid the various bugs in the Docker module related to state: reloaded we need some kind of automated testing.

As a proof of concept I wrote a simple playbook that creates containers, applies some state changes to them using state: reloaded and checks if those state changing tasks correctly created changed events.
This playbook is then executed by travis.

The code can be found in my ansible-modules-core fork in the ‘poc/docker_module_testing’ branch.

What is your opinion on this?

Best regards
Alvaro Aleman

In the main Ansible repo under test/integration we do support supplying tests of this nature. We do not automatically run the integration tests via Travis yet, but this is where they should live for at least the time being.