Skip to content

Commit

Permalink
add custom binary test instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
kmoe committed May 18, 2022
1 parent 5ed9697 commit 74feeec
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Expand Up @@ -71,6 +71,17 @@ func main() {
}
```

## Testing Terraform binaries

The terraform-exec test suite contains end-to-end tests which run realistic workflows against a real Terraform binary using `tfexec.Terraform{}`.

To run these tests with a local Terraform binary, set the environment variable `TFEXEC_E2ETEST_TERRAFORM_PATH` to its path and run:
```sh
go test -timeout=20m ./tfexec/internal/e2etest
```

For more information on terraform-exec's test suite, please see Contributing below.

## Contributing

Please see [CONTRIBUTING.md](./CONTRIBUTING.md).

0 comments on commit 74feeec

Please sign in to comment.