Reputation: 43
using nunit 3.0 visual studio 2013
but when trying to run test i am getting this on console
========== Build: 0 succeeded, 0 failed, 2 up-to-date, 0 skipped ==========
below is the code.
using System;
using NUnit.Framework;
namespace SampleCodeApp.NUnitTest
{
[TestFixture]
public class SampleCodeClassTest
{
[Test]
public void SuiteSelectionTest()
{
Console.WriteLine("xxxx");
String x = "e";
Assert.That(x,Is.EqualTo("e"));
}
}
}
Upvotes: 1
Views: 784
Reputation: 86
I had the same problème with NUnit3 / NuGet / Visual Studio.
If you have NUnit installed as NuGet package, NuGet notify you that an update is available : NUnit3. But you need also NUnit 3.0 Test Adapter that is a prerelease version.
So NuGet don't notify you about it and current release version is not compatible with NUnit3.
So you can use NUnit3 / NUnit3TestAdapter prerelease or downgrade NUnit3 to NUnit 2.6.4.
Upvotes: 1