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'
I LOVE automation. It's just so cool. And it helps me be incredibly lazy. Dishwashers, Dryers, Self-driving cars (although I'm not quite rich enough for that one yet). Say what you want about lost jobs and such, but automation sure does take the mundane work out of our lives. Maybe… Continue Reading 'Here's 3 reasons you should unit test that have nothing to do with actual testing'
I found out about WebdriverIO through WebdriverCSS. Seems strange, since WebdriverIO is so powerful on its own, but yeah, WebdriverCSS introduced me to the awesomeness that is WebdriverIO. Visual Regression Testing has always been an interest of mine. I talked about it at CSSDevConf in 2013, when I demoed the… Continue Reading 'What's up with WebdriverCSS?'