sshaws
sshaws copied to clipboard
Add acceptance tests
This is a POC of testing made by @toninoes and @vidimensional in the context of FlexyFriday.
Summary
Adds some acceptance tests for sshaws. Those tests are not exhaustive, but they bring an idea on how to test it (and maybe open a discussion).
Those tests use terragrunt/terratest in order to launch a simple EC2 instance that allows us to test the features of sshaws (running the tests may incur on AWS costs).
Further work
- Add more test cases, specially the actual connection to the instance.
- Improve performance by grouping and refactoring some calls to
terraform output. - Make the tests work with TravisCI & SonarCloud.







