Yes, please see
https://docs.ansible.com/ansible/latest/dev_guide/testing.html for more
detail.

In short:

ansible-test units --docker default /path/to/unit/test_something.py

On Mon, Apr 29, 2019 at 8:45 AM Андрей Тужилин <andrei.tuzhi...@gmail.com>
wrote:

> Hi!
>
> Is there an easy way to run ansible unittests and integration tests
> locally before push? Some kind of preconfigured docker container with all
> deps installed?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ansible Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ansible-devel+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Matt Martz
@sivel
sivel.net

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-devel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to