Top "Nunit" questions

NUnit is an open source unit testing framework for .NET and Silverlight written in C#. It serves the same purpose as JUnit or TestNG does in the Java world, and is one of many in the xUnit family.

How to do internal interfaces visible for Moq?

I have 3 project in my C# solution. Signatures Structures Tests Signatures has public and internal interfaces. Also it has [assembly: …

c# unit-testing nunit moq internals
The type or namespace SelectElement could not be found in selenium c#

driver.FindElement(By.Id("inputUsername")).SendKeys("aca"); driver.FindElement(By.Id("inputPassword")).SendKeys("123"); driver.FindElement(By.TagName("button")).Click(); SelectElement …

c# selenium selenium-webdriver nunit nunittestadapter
How to create a stub with Moq

How do I creat a pure stub using Moq? With Rhino Mocks I did it like this: [TestFixture] public class …

c# asp.net-mvc-3 nunit moq rhino-mocks
FluentAssertions: equivalence of sorted lists

I'm trying to establish equivalence of two lists using FluentAssertions in C#, where two things are of importance: the elements …

c# unit-testing nunit fluent-assertions
MVC 3: How to learn how to test with NUnit, Ninject, and Moq?

Short version of my questions: Can anyone point me toward some good, detailed sources from which I can learn how …

unit-testing asp.net-mvc-3 nunit moq ninject-2
"Thorough", tutorial on setting up Jetbrain's TeamCity CI server

Does anyone know where I can find a good tutorial to walk me through how to setup TeamCity CI server? …

.net nunit continuous-integration teamcity
Test Explorer (VS) shows '<Unknown project>'

Everthing below is made in VS2019, using .NET Framework 4.7 and NUnit + NUnit3TestAdapter I created an assembly called Exitus.Tests, …

c# visual-studio nunit
pass test case parameters using nunit console

I am developing tests using Nunit and data driven testing approach. I have test method with 2 parameters: path to xlsx …

c# nunit data-driven-tests nunit-console
How do you instruct NUnit to load an assembly's dll.config file from a specific directory?

If an assembly contains an app.config file, ConfigurationManager will load it as long as it is in the same …

.net unit-testing nunit app-config configurationmanager
How can I run all NUnit Tests in Team City?

We are using TeamCity 6.0 to build VS C# solutions each commit. Once the build is complete, a different test TC …

continuous-integration nunit teamcity