Stanislav Seliverstov

Results 23 comments of Stanislav Seliverstov

@kirill-konshin what framework is it?

Tnx. Where it step called, regular scenario or something else?

if this: >from allure_commons._allure import attach Change to ```python from allure import attach #... attach.file(...) #... ``` or better: ```python import allure #... allure.attach.file(...) #... ```

@HeikKerimov hi, can you provide runnable code?

Can not reproduce. ```python @allure.testcase(TEST_CASE) def test_single_test_case(): """ >>> allure_report = getfixture('allure_report') >>> assert_that(allure_report, ... has_test_case('test_single_test_case', ... has_test_case_link(TEST_CASE) ... )) """ pass ``` ```json "name": "test_single_test_case", "links": [ { "url":...

As I know, allure commandline marks tests as flaky by history of rans. No way to mark from code, but hope, in next major versions it will be possible.

@rayjlinden as a workaround you can add this hook implementation ```python import allure def after_scenario(context, scenario): uri = "https://github.com/allure-framework/allure-python/tree/master/allure-behave/{filename}".format(filename=scenario.filename) allure.attach(uri, name="test location", attachment_type=allure.attachment_type.URI_LIST) ```