-
Notifications
You must be signed in to change notification settings - Fork 727
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
Generate xUnit compatible test results for unit and integration tests #1724
Generate xUnit compatible test results for unit and integration tests #1724
Conversation
And you can look it on CI https://devops-ci.elastic.co/job/cloud-on-k8s-pr/1314/testReport/ |
Nice. Is there a way to browse through result history for a particular test? |
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.
LGTM
@david-kow I'm not sure if it's possible with Jenkins, but there is another issue #1098 for looking into possibility of using existed ES instance for collecting and viewing test results. With ES it should be possible. I think there is actually a dashboard which showing tests which fails most often, but it's for main Cloud repo only |
…elastic#1724) * Add xUnit compatible output for unit and integration tests * Add example of output to test on Jenkins * Create integration-tests.xml * Update make target for CI * Add xUnit compatible test reports to PR job * Revert "Create integration-tests.xml" This reverts commit 313d8a6. * Revert "Add example of output to test on Jenkins" This reverts commit bdd7664.
This PR adds support for generating xUnit compatible XML with test results from
go test
for unit and integration tests. It using https://github.com/gotestyourself/gotestsum for generating XML.Part of #1229