in

 

Browse by Tags

  • Encapsulating Test Data and Expectations

    I love it when I find new ways to improve my testing ability. In this case, it's not really new, just new to me. I'm referring The Object Mother or Test Data Builder patterns used to encapsulate objects you need for testing. I started playing with these patterns to simplify my tests and I found...
    Posted to John Teague's Blog (Weblog) by jcteague on 08-12-2008
  • Advanced mocking: anonymous test spy

    When practicing TDD, I create interfaces to abstract away the ugly stuff, like databases, file I/O, web service calls, email messages, and other external systems. I can run tests now that don't have to interact with real implementations of these external components, which may or may not be available...
    Posted to Jimmy Bogard (Weblog) by bogardj on 03-06-2008
  • Advanced mocking: auto-interaction testing

    When dealing with legacy systems or those not designed with specific testability scenarios in mind, you have to test your changes in non-traditional means. In normal mocking (or test double ) scenarios, you have some kind of external dependency that you want to substitute for. For example, you might...
    Posted to Jimmy Bogard (Weblog) by bogardj on 03-05-2008
  • Unit testing MonoRail controllers - Redirects

    When developing with MonoRail , one of the common operations is to redirect to other controllers and actions. Originally, I looked at the BaseControllerTester to help test, but it required a little too much knowledge of the inner workings of MonoRail for my taste. Instead, I'll use a common Legacy...
    Posted to Jimmy Bogard (Weblog) by bogardj on 02-18-2008
  • Naming your test methods

    Today I had an opportunity to go to the TDD Coding Dojo hosting by Chad Myers and Ray Houston and I had a blast. Some of the attendees have been doing TDD for a while (some have even migrated to instituting BDD into their development process) and some of them were trying to see what TDD was all about...
    Posted to Jason Meridth (Weblog) by Jason Meridth on 02-09-2008
Page 1 of 1 (5 items)
Copyright Los Techies 2007. All rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems