ansible / molecule

Molecule aids in the development and testing of Ansible content: collections, playbooks and roles
https://ansible.readthedocs.io/projects/molecule/
MIT License
3.88k stars 662 forks source link

ServerSpec support #258

Closed moh-abk closed 8 years ago

moh-abk commented 8 years ago

It's mentioned that molecule supports serverspec but it's more biased towards testinfra. For starters it doesn't create the /spec folder when init is run. Also I don't think it installs serverspec.

Feature/Improvement Request.

Thanks 👊

retr0h commented 8 years ago

It is specifically biased towards testinfra. Serverspec can be used, but we aren't planning on making it part of init.

retr0h commented 8 years ago

@moh-abk As of molecule 1.10, molecule init will write out both serverspec and testinfra test examples.

As of master you can now pass a --serverspec flag to write out only serverspec examples.

moh-abk commented 8 years ago

@retr0h Nice! Will it install serverspec same way it installs pytest and testinfra?