Computers are really good at spotting differences in images, and absolutely horrible at knowing whether those differences matter. What can we do?… Continue Reading 'Visual Regression Testing is Stupid'
Here's how to use WebdriverIO and NodeJS to validate file download flows on your website.… Continue Reading 'Testing File Downloads using WebdriverIO'
I firmly believe in writing tests. I also firmly believe in not writing tests. Let me explain...… Continue Reading 'Stop! Don't test that!'
How do you validate the 'human-readable' text of a website matches the computer-friendly database value?… Continue Reading 'Converting 'Yes'/'No' value to true/false in assertions'
Someone reached out recently asking me this, and I figure I'd share my response publicly for anyone interested.… Continue Reading 'Expect, Should & Assert in Chai: Which Should I use?'
Let's look at the inner workings of a test runner by writing our own simple one to help test a single bit of functionality.… Continue Reading 'Ad hoc unit testing in NodeJS'
There are many valid reasons not to write tests. How do you avoid those and make meaning out of your work?… Continue Reading 'Why You're Not Writing UI Tests'
Some Backstory Over the past year, I've been working on a set of online video tutorials for WebdriverIO. In it, I cover many details of WebdriverIO, including a multitude of commands and how WebdriverIO integrates with many systems out there. While I'm happy with the content so far, I felt… Continue Reading 'Testing your login - An In-depth WebdriverIO Tutorial'
Shower thoughts. They're the best, aren't they? The time to be alone, go through a rote routine, and just let your mind wander while warm water pours over your body. Back in May of 2015, I had been ruminating on starting a podcast for a month or so, but couldn't… Continue Reading 'Parents of the tech industry unite! Right after the kids get to bed...'
I've written a few technical posts for the Invision Engineering Blog and figured I'd link to them from here: Better Pull Request Management with Custom Labels Sharing ESLint Across Teams Testing Our Shared ESLint Configs If you can't tell, I really like ESLint :)… Continue Reading '3 Posts on Coding'
While the main Mocha.js website provides useful information, it's fairly verbose (that's really a good thing). Here are several tips to help newcomers understand some of the main features of Mocha. Running commands before and after tests (i.e. Hooks) Take advantage of Mocha's before, beforeEach, after and afterEach… Continue Reading 'Mocha Usage Tips'