-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Run unit and integration tests with gotestsum #22541
Merged
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
d35fd1c
Creating failing tests, test cases
b629d7b
Rewrite mage go test based on gotestsum
81a34eb
Merge branch 'master' into test_reports_incomplete
13b252b
Fix lint on tests
9d8e563
print go test output directly
747a429
clean up go.mod after installing go based tool
53717ea
Merge branch 'master' into test_reports_incomplete
4f7cb68
lets try with go get
0b98e70
try to switch to another directory before when installing gotestsum
7629ccb
Add gotestsum to heartbeat docker image for testing
2170d7e
fix verbosity mode
6e659b9
Merge branch 'master' into test_reports_incomplete
d2eff71
remove leftover debug output
1f3c661
Merge branch 'master' into test_reports_incomplete
8268937
Add gotestsum to metricbeat dockerfile
d5af77d
Merge branch 'master' into test_reports_incomplete
c576b27
Add missing gotestsum to Dockerfiles
c1ddf3f
Add unit tests for GoTest
91a86ed
remove test output tests from filebeat
e4a7dfc
fix notice file
ac578cb
Update common/cli tests to capture output as well
2d7b0e3
one more missing gotestsum
f393fdf
Do not upgrade x/sys
c567e11
use go.mod from master
a06fcd2
gotest testing cleanups and minor fixes
6448cb2
remove GoTestSummary
b015a84
Merge branch 'master' into test_reports_incomplete
e61ea51
Merge branch 'master' into test_reports_incomplete
942f413
remove go-junit-reporter from go.mod
5cabf71
update notice
e75a323
Install gotestsum via mage
28de5cc
Merge branch 'master' into test_reports_incomplete
703fcf5
fix import order
69b3387
Try to fix build by updating indirect dependency psutil
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remove GoTestSummary
- Loading branch information
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GoTestSummary is not used anymore.
gotestsum
prints it's own summary, not as rich as this one, but should be good enough.