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

xUnit tests do not work completely in Rider

Open NikitaEgorov opened this issue 1 year ago • 5 comments

I'm submitting a ...

  • [x] bug report
  • [ ] feature request
  • [ ] support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

Download all sources from github and try to run xUnit tests via Rider image

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

Download all sources from github and try to run xUnit tests via Rider

What is the expected behavior?

All tests are green

NikitaEgorov avatar Nov 20 '23 13:11 NikitaEgorov

Rider issue 😢 https://youtrack.jetbrains.com/issue/RSRP-488382/Load-custom-reporter-dll

NikitaEgorov avatar Nov 20 '23 15:11 NikitaEgorov

Issue happened after https://github.com/allure-framework/allure-csharp/pull/366

NikitaEgorov avatar Nov 21 '23 07:11 NikitaEgorov

Hello, @NikitaEgorov ! Thank you for your report. I'll look into how Rider runs xUnit and if we can do something about it.

Just for now, I see two options:

  1. Use dotnet test from the console.
  2. Roll back to a version prior to 2.10.0-preview.1 and use [AllureXUnit] and [AllureTheory] attributes.

I'll put any updates here.

delatrie avatar Nov 22 '23 09:11 delatrie

Hi @delatrie Do you have any update?

NikitaEgorov avatar Dec 27 '23 17:12 NikitaEgorov

https://youtrack.jetbrains.com/issue/RSRP-495879

baev avatar Feb 16 '24 07:02 baev