You can use xunit to unit test on the hosted build controller by installing the xunit.runner.visualstudio package.
But when the Build is done, there was an error.
The testrunner tries to discover the unittests in xunit.runner.visualstudio.testadapter.dll. Why? Because it matches the default test sources spec of *.test*.dll.
Change the spec to something more specific (like *unittest.dll) and everything works fine.
This is sooo awesome! You just saved my day, thanks a lot! If you have the time, please see this related issue on GitHub, and provide any additional info you can.
https://github.com/xunit/xunit/issues/47
Pingback: Week 17 roundup | .NET Development by Eric