Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit testing #24

Open
trawler opened this issue Oct 31, 2019 · 0 comments
Open

Add unit testing #24

trawler opened this issue Oct 31, 2019 · 0 comments

Comments

@trawler
Copy link
Owner

trawler commented Oct 31, 2019

We should add unit testing to test the proper propagation of variables from the installer to terraform, and avoid using static terraform variables in testing: #34

go test should:

  • accept a yaml data structure in the same format of cna-installer.yaml
  • succeed in running terraform cluster create --noop (when expected)
  • fail to run terraform cluster create --noop (when expected)

Would allow us to work with https://github.com/actions/setup-go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant