| 1 |
# ============================================================================= |
| 2 |
# BEHAVE CONFIGURATION |
| 3 |
# ============================================================================= |
| 4 |
# FILE: .behaverc, behave.ini, setup.cfg, tox.ini |
| 5 |
# |
| 6 |
# SEE ALSO: |
| 7 |
# * http://packages.python.org/behave/behave.html#configuration-files |
| 8 |
# * https://github.com/behave/behave |
| 9 |
# * http://pypi.python.org/pypi/behave/ |
| 10 |
# ============================================================================= |
| 11 |
|
| 12 |
[behave] |
| 13 |
default_tags = -@xfail -@not_implemented |
| 14 |
show_skipped = false |
| 15 |
format = rerun |
| 16 |
progress3 |
| 17 |
outfiles = rerun.txt |
| •18 |
build/behave.reports/report_progress3.txt |
| 19 |
junit = true |
| •20 |
junit_directory = build/behave.reports |
| 21 |
logging_level = INFO |
| 22 |
# logging_format = LOG.%(levelname)-8s %(name)-10s: %(message)s |
| 23 |
# logging_format = LOG.%(levelname)-8s %(asctime)s %(name)-10s: %(message)s |
| 24 |
|
| 25 |
# -- ALLURE-FORMATTER REQUIRES: |
| 26 |
# brew install allure |
| 27 |
# pip install allure-behave |
| 28 |
# ALLURE_REPORTS_DIR=allure.reports |
| 29 |
# behave -f allure -o $ALLURE_REPORTS_DIR ... |
| 30 |
# allure serve $ALLURE_REPORTS_DIR |
| 31 |
# |
| 32 |
# SEE ALSO: |
| 33 |
# * https://github.com/allure-framework/allure2 |
| 34 |
# * https://github.com/allure-framework/allure-python |
| 35 |
[behave.formatters] |
| 36 |
allure = allure_behave.formatter:AllureFormatter |
| 37 |
|
| 38 |
# PREPARED: |
| 39 |
# [behave] |
| 40 |
# format = ... missing_steps ... |
| 41 |
# output = ... features/steps/missing_steps.py ... |
| 42 |
# [behave.formatters] |
| 43 |
# missing_steps = behave.contrib.formatter_missing_steps:MissingStepsFormatter |