allure-python icon indicating copy to clipboard operation
allure-python copied to clipboard

allure-behave formatter doesn't generate json files if there is an exception in before_feature() method

Open rasklaad opened this issue 6 years ago • 3 comments

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

rasklaad avatar Jan 05 '19 09:01 rasklaad

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 avatar Apr 28 '19 11:04 essamzaroura

@essamzaroura Please, create new issue for you bug report.

sseliverstov avatar Apr 29 '19 08:04 sseliverstov

Hi, @essamzaroura @sseliverstov in what state is the defect?

FernandoCotrena avatar Mar 16 '20 13:03 FernandoCotrena