Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Failed MemberData doesn't show in runner app #148

Open
wcoder opened this issue Aug 31, 2020 · 1 comment
Open

Failed MemberData doesn't show in runner app #148

wcoder opened this issue Aug 31, 2020 · 1 comment

Comments

@wcoder
Copy link

wcoder commented Aug 31, 2020

Test:

[Theory]
[MemberData(nameof(Data))]
public void Test(string p1, UIColor p2)
{
  // ...
}

When some MemberData, ClassData items fail the test, the runner app doesn't show failed, only succeeded items. InlineData works fine.

Console log:

[FAIL] Tests.Test : System.ArgumentOutOfRangeException : Specified argument was out of the range of valid values.

Expected Exception.


xUnit: v2.4.1
xUnit.Runner.Devices: v2.5.25
Platform: iOS

@1Cor125
Copy link

1Cor125 commented Sep 18, 2020

I am also seeing this when using [Theory][MemberData(Data))]. I think this has been broken for a while. I only now caught it because I started running the tests headlessly and parsing the xunit test results file in CI.

Also on xunit 2.4.1 and xunit.runner.devices 2.5.25

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants