UNIT TESTING Link to heading
After the past 2 1/2 posts I’ve migrated my unit tests to use the BaseControllerTest abstract class that originated from the Eleutian guys, but is now a part of the Castle MonoRail trunk download. Here is my ExampleControllerTests class:
   1: using Castle.MonoRail.TestSupport;
   2: using JasonMeridth.Controllers;
   3: using NUnit.Framework;
   4:
   5: namespace JasonMeridth.Tests.Controllers
   6: {
   7:     [TestFixture]
   8:     public class ExampleControllerTests : BaseControllerTest
   9:     {
  10:         private ExampleController exampleController;
  11:
  12:         [SetUp