in

 

Browse by Tags

  • Running your build/source code from a ram disk.

      As a test I wanted to run a build from a drive in ram rather than on a physical disk drive using the old Dos style Ram disk. For a trivial build that includes compilation, Asp.net compilation, database updates, unit test, and integration tests. I saw the build time decrease by 41%. That is pretty...
    Posted to Eric Hexter (Weblog) by erichexter on 07-21-2008
  • Silverlight Beta 2 Released and what that means for the Testing Framework.

    ok.. So Silverlight Beta 2 was released on and it has some great new features. But what is the story about testing...? 1 Jeff Willcox blogged about a small change you will need to make in order to use the existing testing framework. It is essentially adding a cast to the initial startup code for the...
    Posted to Eric Hexter (Weblog) by erichexter on 06-08-2008
  • Silverlight Testing - Part 2 - Making the test easier understand.

    Now that we have a working test that can make the proper assertions, the next step is to make the test easier to understand. First, here is the existing test. The test is loaded with infrastructure code that helps execute the asynchronous calls with the testing framework. This does not help the readability...
    Posted to Eric Hexter (Weblog) by erichexter on 04-21-2008
  • Silverlight Testing - Part 1 - Testing the untested.

    The Silverlight testing framework was recently released and shows some great potential for being a first class application platform. For more information about the test framework see this post from Jeff Wilcox . To start off I choose to use a code sample that had some complexity in it. Brad Abrams just...
    Posted to Eric Hexter (Weblog) by erichexter on 04-20-2008
  • Silverlight Testing framework bug - FrameworkElements are not visible on the TestSurface

    Technorati Tags: Silverlight , Unit Testing , Test Framework Working with the Silverlight testing framework the last three weeks has been interesting. I ran into a crazy intermittent bug which drove me made for about 2 hours. The usercontrol that I was adding to the TestSurface would be visible about...
    Posted to Eric Hexter (Weblog) by erichexter on 04-20-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
  • WatiN and INamingContainer adventures

    I decided to add a simple WatiN acceptance test today to validate our login page. When a user enters invalid credentials, the page should show an error message. To test this, I need to set the text of the username and password, and click the Login button. Since I didn't want just any textbox, but...
    Posted to Jimmy Bogard (Weblog) by bogardj on 01-23-2008
Page 1 of 3 (21 items) 1 2 3 Next >
Copyright Los Techies 2007. All rights reserved.
Powered by Community Server (Commercial Edition), by Telligent Systems