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

Integration tests improvements #3067

Open
denis256 opened this issue Apr 16, 2024 · 0 comments
Open

Integration tests improvements #3067

denis256 opened this issue Apr 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@denis256
Copy link
Member

Describe the solution you'd like
Improve existing integration tests approach:

  • split test files by tested functions to avoid large files and merge conflicts
  • use terragrunt execution functions like runTerragruntCommandWithOutput() to print output to logs to help future debugging in case of errors
  • validate expected errors with require.Error() to avoid null value failures

Describe alternatives you've considered
N/A

Additional context
N/A

@denis256 denis256 added the enhancement New feature or request label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant