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

View full JUnit test output in GitHub checks #492

Open
brianjmurrell opened this issue Feb 15, 2023 · 5 comments
Open

View full JUnit test output in GitHub checks #492

brianjmurrell opened this issue Feb 15, 2023 · 5 comments

Comments

@brianjmurrell
Copy link

What feature do you want to see added?

When I go to the test results in the Checks tab for my PR that were submitted by this plugin, I want to be able to review the full data that was submitted in the JUnit file. Rather I just see a notification that a test failed and a link to go see the full results in Jenkins:

image

There was a ton of information available in the JUnit XML file that that failed result above is reporting. I would like all of that information included in the GitHub Check data so that a user doesn't have to go to Jenkins to see it. I.e. They wouldn't see anything more by going to Jenkins.

Upstream changes

No response

@timja
Copy link
Member

timja commented Feb 16, 2023

The reason is that GitHub limits the character that can be sent.

I'm sure more information could be sent / more intelligently cut test reports to try send more.

@brianjmurrell
Copy link
Author

Ultimately, I want to see all of the same detail in the GH Checks reports that I can see in the Jenkins Tests reports.

@timja
Copy link
Member

timja commented Feb 16, 2023

Ultimately, I want to see all of the same detail in the GH Checks reports that I can see in the Jenkins Tests reports.

You can't do that because of character limits in GitHub checks, unfortunately. Stacktraces, stdout, stderr is the main problem, if those weren't sent there would likely be enough characters for a lot more.

@brianjmurrell
Copy link
Author

Stacktraces, stdout, stderr is the main problem

But those are exactly the things in a Test report that are useful. Without them I would submit that sending any test results to GH Checks is quite useless as they are completely unactionable.

Has this issue of character limits been opened with GitHub with these kinds of specific use-cases highlighted?

@timja
Copy link
Member

timja commented Feb 16, 2023

It's 65535 characters

Googling 'github checks character limit' will get you many examples and issues.
Most of them relate to asking GitHub to document it.

Has this issue of character limits been opened with GitHub with these kinds of specific use-cases highlighted?

Unsure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants