Visual Studio For Mac Nunit

Please complete the security check to access this website.

I have Xamarin.Mac class library, which targets Xamarin.Mac Mobile framework. To test it I created another Xamarin.Mac class library and added reference to nUnit 2.6.4 added several tests to it. Unit Tests are detected by Visual Studio for Mac, but when I try to run them, I get exceptions like the following.

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?

If you're using Visual Studio for Mac the NUnit templates extension can't be used. This guide assumes that you have a solution with either a PCL or a Shared project and a number of platform specific projects. NUnit tests against.net core project in Visual Studio for Mac causing freezes, Unable to debug and unrelaiable Unit Tests view. Reported by Jeremy Connor Jun 26, 2017 at 04:46 AM visual studio for mac debugger.

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.

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.

Active1 year, 9 months ago

So Visual Studio doesn't seem to register all my Unit Tests. I have no idea how to solve this, and google hasn't been able to help.

Most of the tests is for some reason labeled as 'Inconclusive Tests'. This is how the built in Unit Tests displays:

P.S. The test runner works fine when I run the tests in a terminal.

JesperJesper

1 Answer

.NET Core test projects in Visual Studio for Mac 7.2 has a bug that would cause the test names to appear blank in the Unit Tests window. This problem was fixed in Visual Studio for Mac 7.3.

Visual Studio For Mac Nunit

Visual Studio

Matt WardMatt Ward
40k4 gold badges75 silver badges82 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Visual Studio For Mac Nunit Tutorial

Visual studio community mac nunit

Visual Studio For Mac Unity3d

Not the answer you're looking for? Browse other questions tagged c#visual-studio-2017nunitxunitvisual-studio-mac or ask your own question.

Comments are closed.