Tag: Unit Testing / Test-Driven Development (TDD)

  • Silverlight Unit Tests: How to Stop Breaking on Assert Exceptions

    There’s something a little peculiar about how unit tests work in Silverlight when the debugger is attached – when an Assert fails in one of your unit tests, the Visual Studio debugger breaks the execution and brings up the debugger dialog. If you want to run a whole bunch of unit tests to see which…

  • Presentation and Code from my TechEd 2010 Session – “Top 10 Mistakes in Unit Testing”

    I just got back from TechEd 2010 New Orleans and as promised, here’s my slide deck and sample code.  Thanks to all of you who came to my session.  If you missed the session, the video has been posted at TechEd Online. -Ben

  • Test-Driven Development (TDD) & Katas

    I was in a discussion with some other Scrum & Test-Driven Development (TDD) practitioners over the last few days and was just introduced to the idea of a “kata”.  According to Wikipedia, “Kata is a Japanese word describing detailed choreographed patterns of movements practiced either solo or in pairs.”  Bob Martin says, “A kata is…

  • Hook Visual Studio Web Tests in to TFS Team Build

    SearchWinDevelopment.com has posted another of my Team System “tips” on their site.  This one walks you through running Visual Studio Web Tests from a Team Build. Run Visual Studio Web Tests from a Team Foundation Server Build By Ben Day 13 Nov 2009 | SearchWinDevelopment.com  One of the great features of Visual Studio 2008 is…

  • Incorporate Windows Azure unit tests in to TFS Team Builds

    I’ve started writing “tips” for SearchWinDevelopment.com on Visual Studio, Team Foundation Server, and Unit Testing.  Look for them to trickle out over the next few months. They’ve posted one that I wrote about making Team Foundation Server Builds work with Windows Azure project.  It’s easy enough to compile Windows Azure projects from Team Build but…

  • ITNAmerica / Microsoft Software + Services Case Study (plus Team Foundation Server)

    One of my clients just got featured in a Microsoft case study about Software + Services.  ITNAmerica is based in Portland, Maine and provides flexible transportation options for seniors who are no longer able to drive. The Microsoft case study features the scalability and flexibility features of ITN’s SOA-based architecture and their success with Microsoft’s…

  • Article: “Eliminate Database Dependencies in Test-Driven Development”

    My first magazine article is up!  (Yay!)  Eliminate Database Dependencies in Test-Driven Development How to avoid the end-to-end integration test problem with the Repository pattern. By Benjamin Day 09/01/2009 Many developers are tasked with writing unit tests as test-first design and development becomes commonplace, even on teams that aren’t strictly practicing Agile methodologies. Test-driven development…

  • Speaking in Shanghai about Unit Testing on September 5, 2009

    FYI, if you happen to be in Shanghai, China on September 5, 2009 and feel like hearing a talk about unit testing with RhinoMocks, you’re in luck.  I’m going to be speaking at Microsoft in Shanghai on 9/5/2009 and giving my “Beyond Basic Unit Testing” talk.  Come on by.  Beyond Basic Unit Testing: Mocks, Stubs,…

  • My Mistake + Here’s Why I Like Team System

    Well, we all make mistakes from time to time and this weekend I made a good one. I’ve written a few posts lately on why I think small businesses need Team System. This weekend I got a comment from Ben Scheirman on my post about the cost of Team System licensing. Ben’s comment was in…

  • My $0.02: Small companies need Team System (VSTS) just as much as big companies.

    As you may have noticed, the world economy has been a little under the weather lately.  Lately, I’ve been thinking about how the economy fits together with VSTS’s mission.  Specifically how, as Brian Randell says, “Team System is all about increasing the predictability of success”.  Team System has been pitched more at large- and medium-sized…