allure-framework / allure-framework/allure-csharp

Allure dont generate reports with package xunit.runner.visualstudio greater than 2.8.2

Open
#588 2 comments 4 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
125
Forks
76
Avg merge
1d 2h
Merged PRs (30d)
18

Description

## Bug Description
when a c# project with xUnit has installed the package xunit.runner.visualstudio greater than 2.8.2 for example the nexe version is 3.0.0 the allure reports are not generated.

Steps
1. Have a project with c# and xUnit installed and couple ot tests created
2. Check that versions of packages are the latest ones:
Allure.Xunit v2.12.1
xunit.runner.visualstudio v3.1.5
3. Execute the project with the test cases

Actual Result: allure-results are not created using package xunit.runner.visualstudio v3.1.5 and sent the results even to Allure TestOps

Workaround: Downgrade package xunit.runner.visualstudio v2.8.2, but it is not a good solution because it could contain security issues in the future.

Image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in a C# project with xUnit, Allure.Xunit v2.12.1, and xunit.runner.visualstudio v3.1.5, then compare it with runner v2.8.2. Trace the test execution and Allure result generation entry points. Done means allure-results are created and sent to Allure TestOps without downgrading the runner.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.