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

testutil: Add NilError helper to log detailed test errors #466

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

sgotti
Copy link
Member

@sgotti sgotti commented Dec 14, 2023

Add a NilError helper based on assert.NilError that will log detailed
test errors when DETAILED_ERRORS env var is true.

Use this function in all tests.

@sgotti sgotti force-pushed the testutil_nilerror_with_detailed_errors branch from 6e8d47a to d0386d9 Compare December 15, 2023 08:47
Add a NilError helper based on assert.NilError that will log detailed
test errors when DETAILED_ERRORS env var is true.
@sgotti sgotti force-pushed the testutil_nilerror_with_detailed_errors branch 2 times, most recently from 1eb0350 to c75fa4c Compare December 15, 2023 12:53
@sgotti sgotti force-pushed the testutil_nilerror_with_detailed_errors branch from c75fa4c to 4f120f9 Compare December 15, 2023 13:15
@sgotti sgotti merged commit df6f4a7 into agola-io:master Dec 15, 2023
1 check was pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant