gotestyourself / gotestyourself/gotestsum
Add env file support
Open
enhancement
- Dominant language
- Go
- Stars
- 2.7k
- Forks
- 171
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice to add an option for importing environment variables from an env file.
In integration tests it's a common pattern to use tokens and access keys from the environment and skip tests when they are missing. In local development environments this is commonly solved by using env files.
Although it's relatively easy to use godotenv for that, it adds an extra dependency, hence more complexity to the environment, so I think it would be a good fit for gotestsum.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.