Skip to content

Latest commit

 

History

History
42 lines (34 loc) · 960 Bytes

README.md

File metadata and controls

42 lines (34 loc) · 960 Bytes

behave-teamcity

A formatter for behave to report test results to TeamCity via service messages.

Features

behave TeamCity
Feature start Test suite start
Feature end Test suite finished
Scenario start Test start
Scenario end Test finished
Scenario failed Test failed
Skipped Scenario Ignored test

Installation

pip install behave-teamcity

Usage

You can specify the formatter directly in the command line using the -f argument:

behave -f behave_teamcity:TeamcityFormatter

or

behave --format behave_teamcity:TeamcityFormatter

You can also register the formatter to be available through a simple name:

# -- FILE: behave.ini
[behave.formatters]
teamcity = behave_teamcity:TeamcityFormatter

and the use it like:

behave --f teamcity