British Inside

An Englishman living in small town America

ASP/ASP.NET Web Hosting: 3 Months FREE + FREE Setup, CLICK HERE!

DiscountASP.NET now offers Windows 2008/IIS7 Web Hosting: CLICK HERE for Info!
  • ASP.NET 2.0 Hosting
  • ASP.NET AJAX Support
  • LINQ & Silverlight Compatible
  • SQL 2005/2000
  • CLICK HERE!

  • Browse by Tags

    All Tags » Unit Testing   (RSS)
    0 errors is a beautiful thing
    ------ Rebuild All started: Project: Components, Configuration: Debug Any CPU ------ Compile complete -- 0 errors, 0 warnings ------ Rebuild All started: Project: web, Configuration: Debug Any CPU ------ Compile complete -- 0 errors, 0 warnings ========== Read More...
    Resolving relative URL's from code
    By now most people will know about ResolveURL and use it whenever they need to reference a page that may be in a different folder. I still regularly see user conrols that reference images using plain paths though, and they only work when you use them Read More...
    NUnit is green
    I love the smell of green in the morning. I'm in the middle of a huge refactoring project and although I'm working in VSTS my old habits made me stick to NUnit that the tests were originally written in. I haven't even looked to see if VSTS Read More...
    v2.4 released!
    The largest and most complicated Dozing Dogs CMS release was finalized today . At 13 weeks since our last release, it certainly went over my initial estimate - mainly because I decided to add unit tests for every single stored procedure. With such extensive Read More...
    HttpServerUtility.HtmlEncode and unit testing
    In Http objects and Unit testing I introduced you to my Context class that replaces the HttpContext classes such as Request, Response, Session, etc..allowing me to unit test my class libraries without fear. During some real-world testing on my staging Read More...
    Shipping NUnit
    I remember a discussion some years ago at my then current employer that took place (as all great developer discussions do) after our daily pilgrimage to Subway. We even used to make "Woo, woo!" sounds as the "Subway Train" left at precisely 11:30 each Read More...
    Testing Private Methods
    Chris Frazier made an excellent point about my earlier blog " internal, not private " when he commented "Testing privates bad. Testing public api gooood. Makes refactoring lots easier." He's right of course, but of course I have A Very Good Reason. Well, Read More...
    internal, not private
    I've meant to say this before, but use internal 1 for your private/protected methods if you can; it will make them available to your unit tests if you ever decide to test them (and of course you should!) 1 I think Friend is the correct term for you VB Read More...
    Unit testing continues
    Unit testing continues; I've added tests for more than half the code now. I'm actually only testing methods containing stored procedure calls since that is the current point of unit testing - I want to exercise every sproc to ensure that my latest unicode Read More...
    Http objects and Unit testing
    Following yesterday's Unit testing and Caching blog I've decided to spend a little time writing support for all Http-based objects, like Response, Request, Server as well as Context.Items and Cache. So, now I have a new class called Context in the Utils Read More...
    Unit testing and Caching
    I'm adding unit tests to the Dozing Dogs code to help me test the recent major stored procedure changes and I had a problem with my extensive caching. What tends to happen in our code is that whenever I read something from database it gets stored into Read More...