behave-html-formatter 0.9.10


pip install behave-html-formatter

  Latest version

Released: Jun 30, 2022

Project Links

Meta
Author: Petr Schindler
Requires Python: >=3.6

Classifiers

Development Status
  • 4 - Beta

Environment
  • Console

Intended Audience
  • Developers

License
  • OSI Approved :: GNU General Public License v3 (GPLv3)

Operating System
  • OS Independent

Programming Language
  • Python :: 3
  • Python :: 3.6
  • Python :: 3.7
  • Python :: 3.8
  • Python :: 3.9
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy

Topic
  • Software Development :: Testing
  • Software Development :: Testing :: BDD

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

If you need to change CSS or JavaScript code: First edit the regular files, then generate the minified versions like so:

tox -e minify
Extras: None
Dependencies:
behave