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

added unit tests for the terraform package #461

Merged
merged 2 commits into from
Sep 22, 2022

Conversation

psihachina
Copy link
Contributor

Changelog:

  • added unit tests for the terraform package

internal/terraform/terraform_test.go Show resolved Hide resolved
"testing"
)

func TestInstall(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we include the name of the package in the test name (here and below)? Won't it be unclear which package this is related to when the whole test suite is executed? TestTerraform_Install

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AutomationD the test of the terraform package and the name of the function is Install, not TerraformIntall, so everything is fine

@psihachina psihachina merged commit 5dce7c2 into main Sep 22, 2022
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

Successfully merging this pull request may close these issues.

2 participants