allure-python
allure-python copied to clipboard
allure-behave formatter doesn't generate json files if there is an exception in before_feature() method
When I run behave with allure formatter, and there is an exception in before_feature(), json files doesn't created, which means that when I generate allure report, I get no information about tests in that feature
There is sample project in attachment. Run it with behave -f allure_behave.formatter:AllureFormatter -o output_folder
sample_project.zip
- Test framework: [email protected]
- Allure adaptor: [email protected]
what you mean if there is an exception in before_feature() method because I get : TypeError(f'Object of type {o.class.name} ' TypeError: Object of type Step is not JSON serializable
what we should be do ?
@essamzaroura Please, create new issue for you bug report.
Hi, @essamzaroura @sseliverstov in what state is the defect?