You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
panospt
changed the title
Test execution cannot be launched in Test Explorer when using [AllureXunitTheory]
Test execution cannot be launched in Test Explorer when using [AllureXunitTheory] along with TheoryData
Oct 5, 2022
panospt
changed the title
Test execution cannot be launched in Test Explorer when using [AllureXunitTheory] along with TheoryData
Tests cannot be found when using [AllureXunitTheory] along with TheoryData
Oct 5, 2022
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
The text was updated successfully, but these errors were encountered: