Onward and Upward

Blog archive

Proof of Unit Testing's Time Savings

At Visual Studio Magazine, we're big proponents of unit testing as a means of writing better, more efficient code. Yes, that can come under the heading of "Duh!", as in "Duh, Ward, that ain't exactly breaking news, is it?"

True though that may be, it's my suspicion (based solely on anecdotal evidence, it must be pointed out) that many, many developers don't do it as a regular practice. I'd suspect the reasons are fear of the unknown, or the inertia we all experience when it comes to changing our routines.

But if you're not doing unit testing, you're seriously slowing down your productivity. That's according to some numbers that came across my desk (OK, monitor) in a press release from Typemock, which makes unit testing products. According to Typemock,

Over 50% of the largest European banks and over 35% of global leading financial institutions consider unit testing critical

Now, aside from the spin that will naturally be applied to those figures, they're still pretty significant. And it backs up what we've been saying for years now -- that unit testing saves time, which of course saves money. How much time? Well, the release estimates a 70-80 percent reduction in debugging time. Again, I'm not sure that most developers are seeing quite that level of time savings, but maybe some of you are. I'd love it if you unit testers would give me some feedback related to this: how much time do you save over your non-unit-testing days?

I wonder if the new emphasis on time-to-market that's been spurred by the explosion of mobile development is leading to a similar uptake in unit testing; I suspect it's having a large impact in that realm. Again, let me know.

If you're not using unit testing, I'd also be interested in hearing why.

Posted by Keith Ward on 02/07/2012


comments powered by Disqus

Featured

  • IDE Irony: Coding Errors Cause 'Critical' Vulnerability in Visual Studio

    In a larger-than-normal Patch Tuesday, Microsoft warned of a "critical" vulnerability in Visual Studio that should be fixed immediately if automatic patching isn't enabled, ironically caused by coding errors.

  • Building Blazor Applications

    A trio of Blazor experts will conduct a full-day workshop for devs to learn everything about the tech a a March developer conference in Las Vegas keynoted by Microsoft execs and featuring many Microsoft devs.

  • Gradient Boosting Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the gradient boosting regression technique, where the goal is to predict a single numeric value. Compared to existing library implementations of gradient boosting regression, a from-scratch implementation allows much easier customization and integration with other .NET systems.

  • Microsoft Execs to Tackle AI and Cloud in Dev Conference Keynotes

    AI unsurprisingly is all over keynotes that Microsoft execs will helm to kick off the Visual Studio Live! developer conference in Las Vegas, March 10-14, which the company described as "a must-attend event."

  • Copilot Agentic AI Dev Environment Opens Up to All

    Microsoft removed waitlist restrictions for some of its most advanced GenAI tech, Copilot Workspace, recently made available as a technical preview.

Subscribe on YouTube