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

Question: Support for custom reporters? #1110

Open
naddison opened this issue Nov 6, 2019 · 1 comment
Open

Question: Support for custom reporters? #1110

naddison opened this issue Nov 6, 2019 · 1 comment

Comments

@naddison
Copy link

naddison commented Nov 6, 2019

This is a question, not an issue.

Is backstop extensible via configuration? Can I implement a custom reporter (similiar to the XML output) and include it via configuration, and would that reporter have hooks it would have to implement?

@garris
Copy link
Owner

garris commented Nov 7, 2019

Hi @naddison. The answer to your question is: not really -- that said you could easily integrate at a higher level. Backstop generates a JSON file you can read -- so it would be straightforward for you to say, import backstop as an NPM module into your testing app and tell backstop to skip opening the browser report. When the backstop promise resolves you can simply have your app read the json results and take over from there.

Another approach: There is also an ember-backstop plugin which demonstrates how backstop can be integrated into other (3rd party) app reporters (in that case, testem).

Hope that helps.

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

No branches or pull requests

2 participants