-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance testing with sequential, parallel modes and flags for e…
…xceptions and skip-destroy (#40) Co-authored-by: dkool <dkool@dkools-MacBook-Pro.local>
- Loading branch information
Showing
4 changed files
with
209 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## Testing | ||
|
||
Ensure Go and Terraform are installed. | ||
|
||
Run tests for different scenarios by setting the example flag when running the tests. | ||
|
||
To run a test, use make test example=default, replacing default with the example you want to test from the examples directory. | ||
|
||
Add skip-destroy=true to skip the destroy step, like make test example=default skip-destroy=true. | ||
|
||
For running all tests in parallel or sequentially with make test-parallel or make test-sequential, exclude specific examples by adding exception=example1,example2, where example1 and example2 are examples to skip. | ||
|
||
These tests ensure the module's reliability across configurations. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters