- EXAMPLE USAGE
- EXAMPLE OUTPUT
- HOW IT WORKS
- CONFIGURABLE ATTRIBUTES
- COPYRIGHT AND LICENSE
Test::BDD::Cucumber::Harness::Html - html output for Test::BDD::Cucumber
A Test::BDD::Cucumber::Harness subclass that generates html reports.
$ pherkin -o Html features/ > test-report.html
The default template uses bootstrap CSS for formatting.
Example test reports from the Test::BDD::Cucumber examples are included in the distribution tar ball or can be viewed online at:
- Calculator example
- Digest example
All report data is gathered and stored in $self->all_features.
For HTML generation a Template style template file is used.
A templated based on bootstrap formating is included in the DATA section of the module an will be used by default.
A filehandle to write output to; defaults to
An Array holding a data structure with the results.
A path to a Template Toolkit template file to use for generating the HTML report.
If no path is given the content will be read from the DATA section of the module containing the default template.
The source code of the Template Toolkit template.
If no content is given it will be read from a file or the DATA section. (see template_file)
This could be used to set a title for the generated report.
Markus Benning <firstname.lastname@example.org>
This software is copyright (c) 2014 by Markus Benning.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.