• .NET Testing & ALM

    Using Data Driving Wisely

    [Update: Added links for Hexawise and Allpairs, which I’d meant to do earlier.] Data driving, also often called parameterization, is a wonderful way to increase your test coverage though parts of your system; however, it’s also a seductive, alluring tool that can needlessly explode your tests’ complexity and execution cost. Let’s tackle the cons of data driving first, then walk through how it can, when mindfully used, lend some great value to your automation suites. Problems with Data Driving Automated test scripts need to be treated like production code—because they are production code! With that in mind, as test ...
    January 25, 2013
  • .NET Testing & ALM

    Data Driven Testing: What’s a Good Dataset Size?

    I thought I’d follow up that last post on Using Data Driven Testing Wisely with something specific around the size of the dataset for a data driven test (DDT). What’s a good size for a DDT? As with everything in software engineering/testing, the answer is “42.” That, or “It depends.” In all seriousness, the right size of a dataset for a carefully thought out scenario does indeed depend. My payroll algorithm in the last post was a simple test set. You may be working something much more complex relating to finance, rocket science, or environmental controls. Every situation’s different, but ...
    January 25, 2013
  • .NET Testing & ALM

    WaitForVisible Steps That Don't Wait

    Occasionally we get complaints that the WaitForVisible steps in Test Studio don't work correctly. Our response is "It's not our fault!"   Here's what I mean: the Visibility check relies on the Computed Style of the element as seen through the lens of the browser. Specifically we look at the Display property. Here's a video of me using the Google Developer tool to determine the visibility property of an HTML element. Display:none means element is not visible. So it might be that your browser of choice is not very good at determining the visibility factor. Personally I recommend that ...
    January 22, 2013
  • .NET Testing & ALM

    NYC Breakfast Event Update!

    I mentioned earlier that I’m going to be heading up a breakfast event on 1/29 in New York city at the Microsoft office. Due to some schedule changes we’ve had to tweak the first session. Instead of the SOLID talk previously scheduled I will be presenting an Intro to Unit Testing talk. I’ve given this talk many times over the years and I always love doing it. The talk’s in C# using NUnit and JustMock, but the concepts are the same regardless of whatever testing infrastructure you’re using. I hope to see you there! (Why not go register now...
    January 15, 2013
  • .NET Testing & ALM

    In NYC on 1/29? Join Us For Breakfast!

    Are you in New York City on Tuesday, January 29th? If so, please consider joining me, Telerik Developer Evangelist Phil Japikse, and Telerik Insider Steve Bohlen for another Breakfast at Telerik event! If you’re not familiar with them, Breakfast at Telerik events are half-day free events where you show up, get some coffee and bagels (or similar food), hang out and get a few sessions on hot topics of the day. We close up by 11:00 or 11:30, which means you’re back to your workspace by lunch—this makes it an easy pitch for your boss or co-workers We’ve done ...
    December 26, 2012