-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: xunit #3
Comments
Also, how does the extension work? I did not see any .NET code for hosting the test adapters and got curious. |
@borgdylan, it should work with xunit has a test adapter written to work with vstest framework. The extension works by implementing the vstest protocol. The extension open a server and trade msgs with the vstest executable. In theory if the xunit has a testadapter.dll and you specify it right you should be able to run it. If you have a sample project I can try to setup and check if its working. |
I could not manage to make your sample project work on my machine. Is it compatible with Linux? |
Or does it require the .NET Core CLI to be present? |
As a side note, please do not use windows specific paths for the log file. You have hard coded a path to your user profile (with your user name and all) into the extension. On linux this makes a file in the project root with a very long path that has back-slashes in it. |
The log reads:
|
It cannot seem to find the xunit vstest adapter in the output folder. |
Looking at your code: This extension is clearly only for windows. It is using back slashes in hard coded manner while discovering test adapters. It is also assuming a case-insensitive filesystem. It looks for Please support other platforms as well. This extension is sorely needed as no one else has done an extension with a UI as nice as this. |
I tried to do some changes to your code, but I hit a bug in vstest itself. It is not running the testhost correctly for net46 projects. |
Ok, I will update the back slashes to a better approach. Also I will check how to make xunit projects to work. Also thanks for the log thing, I completely forgot to make the path relative! |
Is the VS adapter for xunit supported, or is this extensions keyed in to MSTest specifically?
The text was updated successfully, but these errors were encountered: