In our Azure Pipelines pipeline we have .NET Core xUnit test methods that take an InlineData parameter. The test runner runs all test methods and correctly reports in its console output each InlineData instance as a test run. However, Azure Pipelines reports a lower test count because it counts the [Theory] tests as one test (instead of one test for every instance of InlineData).
How can I make Azure Pipelines report all instances of InlineData as tests?
As an example, here's a job output.
The test job reports 9 tests. 9 tests include two [Theory] methods each with two InlineData:
Azure Pipelines only reports 7 instead of the expected 9 tests: