-
Notifications
You must be signed in to change notification settings - Fork 36
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
Is there a way to generate HTML report after the test runs? #72
Comments
Hi @rameshrengasamy not at the moment. The feature set of this tool is quite limited at the moment. |
Hi @meadsteve, I'd like to pick this up as we're running White Bread on a CI server where HTML reports would integrate well with the UI. I hope these can make it into master: Minimal Modifications + Additions
More Extensive Changes
If time permits I can make the more extensive changes in a separate PR as they involve structural changes. |
@rameshrengasamy: This documents how to do HTML reporting https://github.com/meadsteve/white-bread#html-output |
@Dzol Thank you so much, ill try it out. I got an error when i tried to run mix white_bread.run. It might be my mistake somewhere too, as I m totally new to this framework. But i can try again and post here ** (MatchError) no match of right hand side value: [] |
@Dzol I got it working, ended up upgrading my Elixir version, it works now...Thank you |
This ticket was never closed which is a good thing because reporters (including the HTML reporter) can only do their thing on a feature by feature basis. The limitations are obvious: it would be nice to have a report on a suite by suite basis. Some existing code has to be generalized (i.e. the code responsible for console output) to allow for another reporter which outputs suite information. By that virtue I suggest we make the more extensive changes above. We're working on this on a fork it involves some pretty hefty changes. |
@meadsteve: PR #83 generalizes how reporting is done and improves the HTML reporting. Here is some HTML output from the test suite (OKs should in fact be green and if there is a failure then the OK is replaced by a red FAILURE): White Bread ResultsSuite: Alternate context
Suite: Outline context
Suite: Plain context - Songs
Suite: Singer role
|
I am totally new to this language and i was giving it a try to do automation with this library. Is there a way to generate HTML report after the test runs?
The text was updated successfully, but these errors were encountered: