junit.testlogger
junit.testlogger copied to clipboard
Need test name to include parameter for Theory test case
C# support Theory
test case
https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-with-dotnet-test#add-more-tests
That has parameter in the test function
This should include in the test name Otherwise, it will show the same test case for all parameter
I tried to look into the code, but i'm not sure do we have this value in TestResultInfo
class yes
If yes, please help advise, i can help contribute
Thank you so much.
@chaintng Hi. This is actually going to be in our next release. You can use the feature in the preview package on our MyGet feed. https://www.myget.org/feed/spekt/package/nuget/JunitXml.TestLogger
@Siphonophora how can i see the source code? Could you please advise which parameter should i gave to get this output ?
Most of the source is in another repo. You are probably interested in this file: https://github.com/spekt/testlogger/blob/master/src/TestLogger/Extensions/XunitTestAdapter.cs
The theory data should be there by default now, with the version in MyGet. If that isn't working, please provide an example I can look at.
@chaintng Actually, we just released that package to nuget, so you don't need to get it from MyGet.