Closed byrialsen closed 6 years ago
Exact samething happening to me
The Device runner is for running tests on the device itself (or inside an emulator); it's not for running the tests in Visual Studio. For that, you should use xunit.runner.visualstudio
instead.
I am working on ensuring they work together in an upcoming release, but it relies on TPv2 and improvements there.
Hi.
I have a solution with an UWP application where I need to add some unit so I have decided to tryout xunit and run it on devices like described here: https://xunit.github.io/docs/getting-started-devices-uwp.html.
In respect to running the xunit test on a device everything works fine, but at the moment I add a reference to the xunit.runner.devices nuget package Visual Studio are not able to find/detect test methods anymore.
Output windows shows:
I can see that other people have seen similar problems also but they seems to be related to older earlier versions of xunit/xunit devices which should have been fixed by now.
Any suggestions to what is wrong in my case: