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

add support for custom reporters #254

Merged
merged 2 commits into from Apr 14, 2021

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Apr 14, 2021

In order to support getting access to runner events from the standard run() API I think it would be good to support custom Runner classes. This PR adds support for a Runner class being passed as the reporter option, news up this class when the runner starts, and passes the Runner instance as well as the ReporterOptions to the constructor, and then moves on.

@apmmachine
Copy link
Collaborator

apmmachine commented Apr 14, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #254 updated

  • Start Time: 2021-04-14T01:27:49.860+0000

  • Duration: 18 min 22 sec

  • Commit: 44f6618

Test stats 🧪

Test Results
Failed 0
Passed 78
Skipped 0
Total 78

Trends 🧪

Image of Build Times

Image of Tests

Copy link
Member

@vigneshshanmugam vigneshshanmugam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat and I like the idea of allowing customer reporters, Thanks @spalger 🎉

@vigneshshanmugam vigneshshanmugam merged commit d201197 into elastic:master Apr 14, 2021
@spalger spalger deleted the add/custom-reporters branch April 14, 2021 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants