Tags » NUnit

xUnit.net vs NUnit, a pragmatic comparison

At the beginning of our last project, which was a greenfield project on .NET Core, I was responsible to choose a testing framework, isolation framework and all tools and frameworks, related to unit and integration testing. 503 more words

.net

Pester Testing in Jenkins (Using NUNit)

As part of using Jenkins for my CI im also looking at adding pester testing to certain builds.

First lets run a Pester test in a Build. 748 more words

PowerShell

NUnit, NUnit test adapter, Visual Studio 2015–simple example of using

Let’s see how to add supporting of NUnit to the Visual Studio 2015 project. I will describe a simple example without unnecessary things. 486 more words

C#

Register and test per-request services with Autofac

When we develop web application, like ASP.NET applications, we often need to implement a service with some informations related to the user request, such as session/account infos. 305 more words

C#

Registering of the ASP.NET MVC Controllers with Autofac

One of the capabilities of Autofac is the integration with the ASP.NET applications.

ASP.NET MVC is a framework thinked to supports the dependency injection, and so we can use Autofac to register the modules that compose the application, such as the controllers. 275 more words

C#

Watch NUnit tests in .NET Core

In this post I am going to talk about writing unit tests in .NET Core with NUnit and watch them for changes, re-running the test suite again, on the fly. 892 more words

Unit Tests

Unit testing and code coverage for ASP.NET Web API (2/2)

This post continues on Unit testing and code coverage for ASP.NET Web API (1/2).
Much about the topic is inspired from the truly magnificent book “The Clean Coder: A Code of Conduct for Professional Programmers” of Robert C. 3,292 more words

Unit Tests