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

format: handle 'testing: warning: no tests to run' event #185

Merged
merged 1 commit into from Apr 17, 2021

Conversation

dnephin
Copy link
Member

@dnephin dnephin commented Mar 28, 2021

Fixes #140

An output event with this text is sent when 'go test' runs a package that has test files but no tests.

Update two formts that were printing this message in a way that was confusing. Now the standard-quiet format
properly matches 'go test' format, and the testname format omits the text. Since gotestsum includes a count
of tests run in the summary line, this message doesn't seem like it provides much value.

@dnephin dnephin force-pushed the fix-no-tests-run-run branch 3 times, most recently from 463a568 to b9fe0e1 Compare March 28, 2021 23:09
An output event with this text is sent when 'go test' runs a package that has test files
but no tests.

Update two formts that were printing this message in a way that was confusing. Now the standard-quiet format
properly matches 'go test' format, and the testname format omits the text. Since gotestsum includes a count
of tests run in the summary line, this message doesn't seem like it provides much value.
@dnephin dnephin merged commit 5c6169b into gotestyourself:main Apr 17, 2021
@dnephin dnephin deleted the fix-no-tests-run-run branch April 17, 2021 19:32
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.

Improve formatting of testing: warning: no tests to run
1 participant