gruntwork-io / gruntwork-io/pre-commit

Running terratest

Open
#34 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Shell
Stars
547
Forks
168
PR merge metrics
No merged PRs in 30d

Description

Hey,

Wondering if there's a reason why this repo doesn't supply a hook for running tests written with terratest (perhaps by default expecting to run `go test` from an expected `test/` subdirectory)?

Sorta like:
```
- id: terratest
name: terratest
description: "Run terratest unit tests"
entry: sh -c "cd test; go test -count=1 -timeout 30m -tags=unit"
language: system
files: '\.tf$'
pass_filenames: false
```

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.