Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 981 Bytes

README.md

File metadata and controls

43 lines (32 loc) · 981 Bytes

HTML formatter for Behave

To use it with behave create behave.ini file in project folder (or in home) with following content:

# -- FILE: behave.ini
# Define ALIAS for HtmlFormatter.
[behave.formatters]
html = behave_html_formatter:HTMLFormatter

and then use it by running behave with -f/--format parameter, e.g.

behave -f help
behave -f html
behave -f html -o behave-report.html

You can find information about behave and user-defined formatters in the behave docs.

Contributing

You want to help with improving this software? Please create an issue in our open bug tracker, or open a pull request directly.

We use tox for running linting and tests, e.g.

tox
tox -l
tox -e flake8,behave

For code formatting we use black, which you can run using our Tox setup, e.g.

tox -e black