Update CONTRIBUTING.md (#49)

* Update CONTRIBUTING.md

* fmt
pull/51/head
Muhammad Atif Ali 2 years ago committed by GitHub
parent cb72a16221
commit 1e3ac8be4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,7 +12,15 @@ A suite of test-helpers exists to run `terraform apply` on modules with variable
Reference existing `*.test.ts` files for implementation. Reference existing `*.test.ts` files for implementation.
```sh ```shell
# Run tests for a specific module! # Run tests for a specific module!
$ bun test -t '<module>' $ bun test -t '<module>'
``` ```
You can test a module locally by updating the source as follows
```hcl
source = "git::https://github.com/<USERNAME>/<REPO>.git//<MODULE-NAME>?ref=<BRANCH-NAME>"
```
> **Note:** This is the responsibility of the module author to implement tests for their module. and test the module locally before submitting a PR.

Loading…
Cancel
Save