Visual Studio For Mac Tests Not Running

Hi everybody I recently installed Visual Studio Community 2017 on my Mac and every works perfectly except when I go to run my tests written with NUnit3 framework, I already installed the NUnit3TestAdapter package and when I press the option to run a test the only message that I get is Build successful. Visual Studio 2017 for Mac Release Notes. Fixed an issue where it is not possible to re-run tests after stopping tests. Visual Studio for Mac 7.6.1 (7.6.1.9) released August 23, 2018. We fixed an issue 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. Copied from Microsoft/testfx-docs#18 on behalf of @danywalls. I'm trying to run MsTest on but Visual Studio for Mac, Unit Test explorer detect my test but unnable run only show 'Unable to run test. Discovery failed.

  1. Visual Studio For Mac Tutorial
  2. Download Visual Studio For Mac
  3. Visual Studio For Mac Free

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up New issue

Visual Studio For Mac Tutorial

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Visual studio for mac tutorial

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

Comments

commented Sep 20, 2017

Copied from microsoft/testfx-docs#18 on behalf of @danywalls

I'm trying to run MsTest on but Visual Studio for Mac, Unit Test explorer detect my test but unnable run only show 'Unable to run test. discovery failed.

commented Sep 20, 2017

Tagging @DavidKarlas for help

commented Sep 20, 2017

MSTest support in Visual Studio for Mac will be available in 15.5 release cycle aka VSfM 7.3, which is planned to hit Alpha channel in few weeks.

commented Oct 4, 2017
edited

If you can't wait for this alpha or if you can't use the alpha for some reason you can run tests as part of a build script using the dotnet cli on a mac (I'm using current stable build):

Visual studio for mac download

commented Aug 9, 2018

Based on microsoft/testfx#377. This issue should have been fixed.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Mac

Please complete the security check to access this website.

Why do I have to complete a CAPTCHA?

Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.

What can I do to prevent this?

Download Visual Studio For Mac

If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.

Visual Studio For Mac Free

If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.