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?'
WebdriverIO offers a variety of ways to "select" elements on a webpage. While the basic method of using simple CSS selectors will work for 75% of your needs, sometimes you require a more advanced technique. The two main types are either XPath or CSS selectors; and truthfully either… Continue Reading 'Selecting Elements in WebdriverIO'
One of the benefits of using a Selenium Cloud service like BrowserStack or Sauce Labs is the ability to review your automated test runs. This is especially useful if you run your tests through a Continuous Integration (CICD) tool like Jenkins or TravisCI. BrowserStack will show you a list of… Continue Reading 'Better BrowserStack Builds in WebdriverIO'
WebdriverIO provides a configuration utility out of the box, which is great for sharing settings across a simple suite of tests. But it's not quite enough if those settings need to slightly shift when testing on different environments (e.g. your development server vs. production). I plan on covering this… Continue Reading 'Managing Configurations in WebdriverIO'
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'
My first interest in automated testing came in the form of unit tests. With that, I learned about assertions, test suites, promises, mocks and a plethora of other terminology. This knowledge helped when setting up WebdriverIO, a functional test utility (which I really love by the way), with Mocha, a… Continue Reading 'Take a Drive with WebdriverIO and Mocha'
Note: It's been a while since I originally wrote this. Nowadays I use WebdriverIO and WebdriverCSS. If you're interested in learning those tools, I've got a free short course available at http://learn.visualregressiontesting.com Over the past four years, I've learned the hard way about how painful it can… Continue Reading 'Easy UI Regression Testing with Wraith and TravisCI'
Note: It's been a while since I originally wrote this. Nowadays I use WebdriverIO and WebdriverCSS. If you're interested in learning those tools, I've got a free short course available if you're interested This past October I gave a presentation at the wonderful CSS Dev Conf about CSS and regression… Continue Reading 'Regression Testing and CSS'