Slaven Vukovic svukovic

View HomeController.cs
1 2 3 4 5 6 7 8 9 10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
 
namespace MvcApplication1.Controllers
{
public interface IHelloService
{
View unit_test_template.cs
1 2 3 4 5 6 7 8 9
[Test]
public void $MethodUnderTest$_$Scenario$_$ExpectedBehavior$()
{
//Arrange
 
//Act
 
//Assert
}
View TestHelper.cs
1 2 3 4 5 6 7 8 9 10
public static class TestHelpers
{
public static void ShouldEqualWithDiff(this string actualValue, string expectedValue)
{
ShouldEqualWithDiff(actualValue, expectedValue, DiffStyle.Full, Console.Out);
}
 
public static void ShouldEqualWithDiff(this string actualValue, string expectedValue, DiffStyle diffStyle)
{
ShouldEqualWithDiff(actualValue, expectedValue, diffStyle, Console.Out);
Something went wrong with that request. Please try again.