Sha256: 94f37cdea3ec2f5892978474553734e9e7978576bd89b4ab972b0a922e104dd5
Contents?: true
Size: 703 Bytes
Versions: 1
Compression:
Stored size: 703 Bytes
Contents
# -*- coding: UTF-8 -*- """ Configure pytest environment. Add project-specific information. .. seealso:: * https://github.com/pytest-dev/pytest-html """ import behave import pytest @pytest.fixture(autouse=True) def _annotate_environment(request): """Add project-specific information to test-run environment: * behave.version NOTE: autouse: Fixture is automatically used when test-module is imported. """ # -- USEFULL FOR: pytest --html=report.html ... environment = getattr(request.config, "_environment", None) if environment: # -- PROVIDED-BY: pytest-html behave_version = behave.__version__ environment.append(("behave", behave_version))
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
busser-behave-0.1.3 | vendor/behave/conftest.py |