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

Publish test execution reports in Gradle Actions? #170

Open
szpak opened this issue Feb 16, 2023 · 2 comments
Open

Publish test execution reports in Gradle Actions? #170

szpak opened this issue Feb 16, 2023 · 2 comments
Milestone

Comments

@szpak
Copy link
Contributor

szpak commented Feb 16, 2023

Test execution failures might be tricky to explain:
image

image

Displaying a stacktrace on CI is some solution, but one the other hand a test execution report could be published (for test and compactTest*, I don't know about the e2eTest which are optional) for example with https://github.com/marketplace/actions/test-reporter (I haven't been using it before).

@szpak szpak added this to the 2.0.0 milestone Feb 17, 2023
@szpak
Copy link
Contributor Author

szpak commented Jul 21, 2023

I'm not sure, if we still need it, having the Gradle scan in place on CI server. @TWiStErRob WDYT?

@TWiStErRob
Copy link
Collaborator

I really like this view and use it on all my projects: https://github.com/TWiStErRob/net.twisterrob.gradle/runs/15212418581

accessible from a PR/commit with one click:
image

I would go insane without it, logs are hard to parse; artifacts take long to download, extract, open; Gradle Build scans need activation, and quite heavy for this use case. I think for contributors the best place for telling them what's wrong is right in the PR. (The action has capabilities to put the failure right on the test method or inside it, it just needs some XML massaging to achieve this which I haven't got around to yet.)

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