Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Allure report can not get case result when run case with param --forked #742

Copy link
Copy link
Open
@pengdada00100

Description

@pengdada00100
Issue body actions

Hi Team,

I am facing issue to get case result when generate allure report using allure-pytest 3.13.1 version.

Cli: python -m pytest --forked tests/function -q --alluredir=./out/results

I'm submitting a ...

bug report

What is the current behavior?

image

image

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Demo code:

`class TestDemo:

def test_01(self):
    print("case pass")
    assert True

def test_02(self):
    print("case fail")
    assert False

def test_03(self):
    print("case pass")
    assert True

def test_04(self):
    print("case pass")
    assert True

def test_05(self):
    print("case fail")
    assert False`

Cli: python -m pytest --forked tests1 -q --alluredir=./out/results
allure generate -o out/html/ out/results/

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Allure version: 2.20.1
  • Test framework: pytest7.3.1
  • Allure adaptor: allure-pytest@2.13.1
  • pytest-forked: 1.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.