Visual Studio 2017 for Mac. Where adding a unit test, Visual Studio for Mac will crash with a stack trace that seems to try to recursively add the unit test. Compare Visual Studio 2017 offerings to find the set of tools & resources that's best for you. Compare Visual Studio, Test Professional, & MSDN Platforms.
Active1 year, 4 months ago
Visual Studio
I am currently evaluating Visual Studio for Mac. And I ran into a little problem. It won't detect any of my xUnit unit tests. On the Windows version of VS, the tests are automatically picked up when I click on 'Run all Tests'. But with this version, it's not. Are there any instructions on how to setup xUnit to work inside Visual Studio for Mac?
Visual Studio for Mac now has built-in support for xUnit.
[Original Post]
Ok, so for anyone searching for this. Basically Visual Studio for Mac is not currently compatible with xUnit. I spoke to the xUnit core team, and they have no plans on supporting Visual studio for Mac. You can follow the conversation HERE. I also spoke to the xamarinstudio.xunit plugin team. And they said that they are planning on supporting it if VS for Mac doesn't out of the box. But that we will have to wait a little bit to see what the requirements are. You can follow the conversation HERE
Visual Studio for Mac now has a built in support for xUnit (Just create a new project in your solution, and under the .NET Core project type you'll see a Tests project that you can add and write tests with)
Version 2.3.1 of xUnit seemed to solve a lot of issues I had both with Live Unit testing in VS2017 and some issues with VS for Mac as well.
Gobie74Gobie74
With the latest version of VS for mac (7.1) With .Net Core 2.0 support - you can now run the tests and see them in the 'Test Results' window, available in the BRHS of the IDE.
Anime Studio 8.0 for Mac can be downloaded from our software library for free. The most recent installer that can be downloaded is 20 MB in size. Our antivirus scan shows that this Mac download is. Anime studio 9. Anime Studio Pro 8 enables you to create your own 3D objects by converting your 2D vector layers into 3D Objects, and simulated physics allows you to automate parts of your animations. Anime studio 8.2 social advice Mac users interested in Anime studio 8.2 generally download: Anime Studio Debut 10.1. Create 3D animations with cartoon characters and sounds. Import your illustrations, scan it, or sketch brand new art. Use multiple layers. Related advice.
You will need to select the project from the top left hand drop down - ensure that it is: ' - Unit tests'
You can then run using the Run button and the results will be displayed in the window above.
PaulGrantPaulGrant
Not the answer you're looking for? Browse other questions tagged macosvisual-studioxunitvisual-studio-mac or ask your own question.