-
Notifications
You must be signed in to change notification settings - Fork 343
Add getSuites() method in TestResultImpl #464
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
Conversation
aae2f13
to
41fe342
Compare
There's an issue that testReport/api/json doesn't display the suites list. Add the missing getSuites method in the TestResultImpl interface, and integrate it with Junit TestResult. junit-sql-storage plugin will adopt this interface once it is released.
41fe342
to
2936b5c
Compare
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.
Can you file a pull request to the sql storage plugin please?
I will after this change is published. |
We prefer that at least one API consumer is provided so that the API can be evaluated together with the implementation before the API is published as once the API is published its hard to change. You can consumer the incremental (release candidate) version from the pull request as the dependency, (your latest build is |
Adopt the upstream Junit plugin new getSuites() Align the Jenkins version with Junit Plugin
That's good that I can test with pr build. |
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.
Can you adopt the smoke test please to show this is doing what's expected?
https://github.com/topikachu/junit-plugin/blob/2936b5c7cbe18c9d5c1b0a731fb6dc642bf072c7/src/test/java/io/jenkins/plugins/junit/storage/TestResultStorageJunitTest.java#L161
src/test/java/io/jenkins/plugins/junit/storage/TestResultStorageJunitTest.java
Outdated
Show resolved
Hide resolved
Check more about the return value of getSuites method.
Done! |
There's an issue that testReport/api/json doesn't display the suites list. Add the missing getSuites method in the TestResultImpl interface, and integrate it with Junit TestResult.
junit-sql-storage plugin will adopt this interface once it is released.