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

features/test command #286

Merged
merged 6 commits into from
Mar 25, 2024
Merged

features/test command #286

merged 6 commits into from
Mar 25, 2024

Conversation

JohannesRudolph
Copy link
Member

@JohannesRudolph JohannesRudolph commented Mar 25, 2024

The "collie foundation test" command executes terraform test (via terragrunt, as usual) on "test modules". By convention, these modules live next to platform modules and are named *.test.

This pattern is very useful to have dedicated modules that run tests against a landing zone architecture. One common use case is testing building blocks, as can be seen in the public https://github.com/likvid-bank/likvid-cloudfoundation reference implementation.

test modules live next to platform modules suffixed with a ".test" 
extension. They are ignored by "foundation deploy" command but can be
run explicitly run with "foundation test".
@JohannesRudolph JohannesRudolph added this pull request to the merge queue Mar 25, 2024
Merged via the queue into main with commit e15aad1 Mar 25, 2024
2 checks passed
@JohannesRudolph JohannesRudolph deleted the features/test-command branch March 25, 2024 19:03
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.

1 participant