Hacker News new | ask | show | jobs
by _mikz 3348 days ago
Just out of curiosity, how is that module tested? It is one new file without a single test. How people know it works and change it knowing it still works?
1 comments

There isn't a very good automated testing strategy for ansible modules. If you look in the documentation there are examples that should exercise all the code paths, so a future developer can validate it is still working by running it with those examples. So much of the logic of the module requires you to interact with boto that without a substantial mocking of that interface the tests would be effectively worthless.