Tags » NUnit

Unit Testing on Visual Studio 2013 with NUnit framework

Unit Testing on Visual Studio 2013

Visual Studio 2013 provides us a test framework library named MsTest, proprietary of Microsoft.

We can write and run unit tests using… 196 more words


Using ClassAssert to check property mappings between different object types

When developing modern business applications, a common architecture includes multiple layers. At the bottom of the stack is the database layer, either communicating directly with the database or alternatively using an Object Relational Mapping (ORM) framework such as Nhibernate or Entity Framework. 702 more words


Test your server side routes

MVC tests

When we are developing ASP.Net MVC applications, we write tests to behavior test of our controllers, of course :)

But … and our server routes? 233 more words

Web Development

NUnit validation of a web service at "http://localhost:1234/api/values";

NUnit validation of a web service at “http://localhost:1234/api/values”;

UnitTest.cs :

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MVCWebApi.Controllers;
using NUnit.Framework; 704 more words


Generic Node

So for my first post I will be showing off some custom node classes GNode and GNodeList.

Here is a quick example of a generic node class I wrote for creating your own single linked list without the use of pre-defined data structures like arrays, dictionaries etc. 439 more words