How to use the allure-behave.src.formatter.AllureFormatter function in allure-behave

To help you get started, we’ve selected a few allure-behave examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github allure-framework / allure-python / allure-behave / src / formatter.py View on Github external
def __init__(self, stream_opener, config):
        super(AllureFormatter, self).__init__(stream_opener, config)

        self.listener = AllureListener(config)
        file_logger = AllureFileLogger(self.stream_opener.name)

        allure_commons.plugin_manager.register(self.listener)
        allure_commons.plugin_manager.register(file_logger)

allure-behave

Allure behave integration

Apache-2.0
Latest version published 9 months ago

Package Health Score

74 / 100
Full package analysis

Similar packages