jcansdale / TestDriven.Net-Issues

Issue tracking for TestDriven.Net
https://github.com/jcansdale/TestDriven.Net-Issues/issues
24 stars 2 forks source link

XUnit Traits not supported as categories #85

Open richardmatsu opened 7 years ago

richardmatsu commented 7 years ago

The Categories section for filtering doesn't seem to work with XUnit Traits. This forces me to use Visual Studio Test Explorer more than I'd like.

jcansdale commented 7 years ago

Thanks for the suggestion. I also need to implement support for this in the latest NUnit adapter implementation. 😊

The way TestDriven.Net communicates options to the test runner adapters is a little quirky (I can't change the ITestRunner interface without breaking stuff). Adapters can pick them up suing the following utility class: https://github.com/jcansdale/nunitaddin/blob/2.6/src/NUnitAddIn/nunit-addin/TestDrivenOptions.cs

This would need to be picked up and used in the 'xunit.runner.tdnet' project: https://github.com/xunit/xunit/tree/master/src/xunit.runner.tdnet

I'm afraid I'm maxed out at the moment, otherwise I'll look into doing it myself. Could you add this as an issue to the xUnit repo and hopefully someone will pick it up?

kzu commented 7 years ago

Maybe you should create an up-for-grabs label so contributors-wannabe can pick up useful stuff?

Also, a label according to the difficulty would be useful :)