Code Snippets

The only thing I like more than breaking software is leaving a note that I broke the software. For example, when I first took over testing code snippets, I would attempt to break the UI by doing all kinds of unexpected things, like trying to type "Sara wuz here" in place of a code snippet name. Most of my attempts were unsuccessful, as you would expect, but eventually I did find a series of keyboard shortcuts that led to a crash.

The cool thing about software testing is that once you find one bug, there’s usually a collection of bugs nearby. All you have to do is know how to find the bug pattern. Expanding on this series of UI interactions, I ended up finding at least three crashes that day, all with "Sara wuz here" in the reproduction ...

Get Microsoft® Visual Studio® Tips now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.