Open lhoss opened 5 years ago
@dbeech wdyt about molecule tests?
Hi @lhoss . I haven't had chance to check your molecule_tests branch in detail but I'm definitely in favour of automated testing. Changes are difficult to test today and usually need runs of the entire playbook, which is very time consuming. Anything to improve that would be very welcome.
A 2nd iteration, rebased to latest master
: https://github.com/cloudera/cloudera-playbook/pull/59 :)
For the moment there are NO tests at all, which makes it more difficult to refactor the code, to test changes and thus to contribute.
My proposal is to change that, using the great Molecule framework. As a start, I got an initial version done, running in a docker container (with systemd), of course single node first (multiple nodes are possible too) You can check at my branch: https://github.com/scigility/cloudera-playbook/tree/molecule_tests Plz note: This is not ready yet, but I wanted to inform the community about the initial work