while-true-do / ansible-skeleton

The skeleton to create new ansible roles.
BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

discussion: testinfra vs goss #75

Open dschier-wtd opened 5 years ago

dschier-wtd commented 5 years ago

Hey folks,

currrently for testing, I am using testinfra. The tool is bullet proof and can test linux and windows. But it is very slow and one has to learn a bit python.

goss is lightning fast and you will write tests in yaml. on the other hand, you cannot test windows machines and the support is somewhat limited, it seems.

Nevertheless, I think we should evaluate both and have a look, if goes or testinfra are the better tool for our work.

Somebody interested?

Links: https://testinfra.readthedocs.io/en/latest/ https://github.com/aelsabbahy/goss

Cinux90 commented 5 years ago

An evaluation sounds like a good idea. But currently i see no benefits in a "lightning fast"-tool. For me the compatibility is more important. However... the evaluation sounds good and will help later to decisions.