Allure.XUnit icon indicating copy to clipboard operation
Allure.XUnit copied to clipboard

Tests cannot be found when using [AllureXunitTheory] along with TheoryData

Open panospt opened this issue 2 years ago • 0 comments

When trying to run a parameterized test using [AllureXunitTheory] attribute along with [MemberData] pointing to a static class member, tests cannot be found and executed. As static class I use the TheoryData class instead of using IEnumerable for various reasons, but it seems it's not supported yet.

Please note that in my current solution I am using: Allure version: 2.19.0 Allure.XUnit: 2.1.3 xunit: 2.4.1 xunit.runner.visualstudio: 2.4.5 Microsoft.AspNetCore.Mvc.Testing: 6.0.8 Microsoft.NET.Test.Sdk: 17.3.1 Visual Studio version: 4.8.04084 .NET 6

panospt avatar Sep 06 '22 07:09 panospt