Thanks Houston TechFest!

This past weekend I gave a talk on one of my favorite topics – UI testing.  In it, I focused almost exclusively on techniques for authoring maintainable UI tests, and how design for testability extends to views, models and controllers in MVC land.  It’s trivial to write UI tests that break easily, but not much more difficult to write maintainable tests, given that you’ve intentionally designed your UI layer for UI testability.

Big thanks to the Houston TechFest organizers, who put on a fantastic conference, and to all the attendees, who had to put up with me for an hour.  For those that are interested, you can find the code and slides here:

Testing the Last Mile in ASP.NET MVC code and slides

I had a lot of people asking about the wrappers on top of our browser automation tool, WatiN, and if they were open source.  The answer is no, not yet, but we’re working on it.  A quick road to fragile UI tests is browser automation code directly in your UI tests, so the sample code provided should at least provide some ideas and guidance to craft your own wrappers.  And as always, my door is always open for questions.  My email door, at least.

About Jimmy Bogard

I'm a technical architect with Headspring in Austin, TX. I focus on DDD, distributed systems, and any other acronym-centric design/architecture/methodology. I created AutoMapper and am a co-author of the ASP.NET MVC in Action books.
This entry was posted in ASPNETMVC. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
  • You presented well, Jimmy. Thanks for covering WatiN and MVC UI testing. I haven’t started any MVC projects, but most of the projects I have seen generally steer clear of UI testing. I was glad to learn it is so simple!

  • Your session was really good, Jimmy. You were well spoken, and I think that code-slides helped you talk more about the evolution of the tests.

    It answered a ton of my own questions on watin testing :)

  • Jon Dalberg

    It was a great presentation. You mentioned two books that would be good references for Expressions – can you repeat those?

  • @Jon


    C# In Depth


    LINQ in Action

    They’re both absolutely fantastic books.