Tags » NUnit

Repository pattern with Autofac

The repository pattern is one of the most popular patterns used in the applications architecture.

With Autofac we are able to manage the dependencies and the lifecycle of the repositories in our application. 840 more words


Register a singleton service with Autofac

Autofac is a popular and very useful IoC container, a tool that help us to manage the dependency injection in our application.

What we want from a IoC container is the ability to instantiate the objects needed in different contexts and situations and define configurations, without worry about who and when instantiate these objects. 550 more words


Configuring SpecFlow and NUnit in Visual Studio 2015

How to set up Specflow and NUnit v3 in Visual Studio 2015. I have already added a new Class Library project named SpecFlowTest to an empty solution. 517 more words


Xây dựng hệ thống Continous Integration với Jenkins (phần 4)

Cố viết nốt series này nào :D Còn 1 tí nữa là xong rồi :3 Phần này mình sẽ chia sẻ nốt về cách sử dụng Nunit để chạy unittest sau khi tiến hành build nhé 687 more words



Some overview of the project, with pictures. I have been planning out this project for years now so it can be difficult to find the correct words to explain everything and I always want to go in depth on the code portions. 459 more words


Testing roles in Authorize attribute on a ASP.NET Web API Controller

Recently at work we had to restrict access to a ASP.NET Web API Controller to users in two specific Active Directory groups.  We also wanted to create a test that verified this change and I thought it would be nice to share the approach we took to add some coverage. 72 more words


Unit Test Framework? That’s a developer thing - TDD… Is it?

Thursday evening after I had wind up for the day, I headed to my friend’s desk who owed me a beer over weekend. But he looked tensed, I asked what was bothering him. 1,542 more words

Automation Framework