Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add setenv and error support (#85) #85

Merged
merged 1 commit into from
Sep 21, 2024
Merged

feat: add setenv and error support (#85) #85

merged 1 commit into from
Sep 21, 2024

Conversation

tkrop
Copy link
Owner

@tkrop tkrop commented Sep 21, 2024

This pull request adds support for t.Setenv(key, value) as well as adds an Error-accessor that can be used to set unexported fields in errors. It also fixes the t.Parallel() behavior allowing it to be setup in any subsequent test environment while swallowing duplicate manual setups conflicting the automatic setups.

@tkrop tkrop added the enhancement New feature or request label Sep 21, 2024
@tkrop tkrop self-assigned this Sep 21, 2024
@tkrop tkrop merged commit 001149d into main Sep 21, 2024
6 checks passed
@tkrop tkrop deleted the setenv branch September 21, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant