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'
They say "don't put all your eggs in one basket", yet it's completely normal for tech workers to do exactly that. The idea of "job security" has always been a myth to me. No matter how hard you work for a company, that sole source of… Continue Reading 'Earning $50,000 in Less Than 3 Years Selling a Niche Online Course'
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'
I've been building out a bunch of content for my WebdriverIO course recently and wanted to share a neat idea (I think so anyways) for a minor addition to your WebdriverIO suite. Update: WebdriverIO now supports "watch" mode out of the box Using two NPM packages and a… Continue Reading 'Continuous local WebdriverIO testing with 'onchange' and 'node-notifier''
Here's an idea: Fill out a form and get a WebdriverIO script that tests the login/registration process on your site. Not a generic script that you have to customize. Once already set up to your specific page elements with your specific URLs and specific text. That's the idea behind… Continue Reading 'Test Your Login'