Category "nunit"

The tests are not shown in specflow + nunit3 with Visual Studio 2017

I'm starting with BDD and spec-flow in C# and Visual Studio. I was following a tutorial at https://www.toolsqa.com/specflow/set-up-specflow/ to set up a project

Make NUnit fail on invalid test parameters

Say that we have the following unit test: [Test] public void OneAndOneTest(int one) { Assert.That(1 + one, Is.EqualTo(2)); } The compiler will accept this

Could not load Newtonsoft.Json. Issue with .net framework / core / standard versions

[EDIT 3: bottom line, this stuff can work but is fragile. take a false step and VS will pull in undesired versions. Be prepared to backup, undo changes, and tr

vs 2015 Error CS0006 Metadata file .dll' could not be found

I am trying to add two new test projects to my solution. When I add them and add references, the build initially creates the dll's in the debug folder. when I

Verifying ArgumentException and its message in Nunit , C#

In my test program in Nunit, I want to verify that it's getting the write Argument Exception by verifying the message. [Test] public void ArgumentsWork