You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to switch a playbook over from Testinfra to Ansible testing via asserts. With Testinfra, it's very convenient for Molecule to run through all the tests, whether they pass or fail, and collect the results and provide them at the end.
When using Ansible asserts via a verify playbook, I don't see a good clean way to replicate this behavior. The playbook converges for a long time and there are a lot of tests and I test multiple systems in parallel, so incrementally fixing tests one by one instead of knowing all the tests that will fail is a very painful workflow.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am attempting to switch a playbook over from Testinfra to Ansible testing via asserts. With Testinfra, it's very convenient for Molecule to run through all the tests, whether they pass or fail, and collect the results and provide them at the end.
When using Ansible asserts via a verify playbook, I don't see a good clean way to replicate this behavior. The playbook converges for a long time and there are a lot of tests and I test multiple systems in parallel, so incrementally fixing tests one by one instead of knowing all the tests that will fail is a very painful workflow.
Does anyone have any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions