tripleo-ansible/releasenotes/notes/add-ansible-args-to-test-co...

12 lines
397 B
YAML

---
features:
- |
A new argument has been added to the molecule test setup allowing
developers to run tests with Ansible command line arguments. This
feature is useful when testing roles that require augmentation,
like when tags are needed.
.. code-block:: console
pytest tests/test_molecule.py --scenario=${NEWROLENAME} --ansible-args='--tags xxx --skip-tags yyy'