Programming

Getting Started with Cypress and TypeScript

Posted on

Cypress is a front-end testing utility that allows you to write UI tests using Mocha and Chai. It has auto-waits, time-travel (look back at snapshots from within test runs), and automatic discovery of tests. This blog provides a quick start for getting started with Cypress and TypeScript. Cypress NPM Packages Your package.json file will need […]

Automation

Mind First, Language Second

Posted on

I don’t know if other industries experience this, but in software development it appears to be getting increasingly common. Pick a word or phrase, perform an in-depth critique of the word explaining why it shouldn’t be used, and attempt to coin a new phrase (over which you can be the creater and arbiter of all […]

Automation

Updated Testing Pyramid

Posted on

You can hardly spend five minutes talking about test automation without someone bringing up the testing pyramid.  The testing pyramid was devised by Mike Cohn and it is a good foundation for thinking of test automation. Here is the original version. The pyramid says, do plenty of unit testing, quite a bit less at the […]

Automation

Load Stress Spike And Soak Testing

Posted on

This article talks about what I like to call the “Four Ss” of performance testing. They don’t actually all begin with “S” – but if reading, writing, and arithmetic can be described as the “Three Rs”, I’m not going to constrain myself either. Quick aside: it is only really performance testing if you are measuring […]

Automation

Test Automation Philosophy

Posted on

I have written previously about my general automation philosophy. The automation philosophy represents what I believe to be a universal truth of any automation if viewed from a human perspective. This article applies this truth specifically to software testing. It is easy to see that software testing provides a full spectrum of work from routine […]

Automation

Selenium Page Object Elements

Posted on

If you are using Selenium WebDriver to automate your browser testing, you will almost certainly have come across a variation of the following code. In fact, in many cases you will have found this kind of thing scattered all over the place. IWebElement nameInput = driver.FindElement(By.Id(“name”)); If you are using this to grab elements all […]