ansible-requirements-updater icon indicating copy to clipboard operation
ansible-requirements-updater copied to clipboard

Add automated tests

Open geerlingguy opened this issue 5 years ago • 4 comments

Because, you know, testing is good. If you're going to have one of the worlds most disgusting playbooks, laden with tons of Jinja and Pythonic hacks marked up in YAML... you should probably test it and see just how fragile it is.

geerlingguy avatar Feb 22 '20 03:02 geerlingguy

I know it works with at least one requirements file—Drupal VM's—because I built this playbook after getting frustrated keeping it up to date. See related: https://github.com/geerlingguy/drupal-vm/issues/2013

geerlingguy avatar Feb 22 '20 03:02 geerlingguy

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] avatar May 22 '20 03:05 stale[bot]

This issue is no longer marked for closure.

stale[bot] avatar May 22 '20 15:05 stale[bot]

I'm not even sure what is the best way to implement automated tests is, because the data that this playbook produces is dynamic (i.e. it changes based on the latest version of the roles in the requirements.yml file).

gotmax23 avatar Sep 30 '21 20:09 gotmax23