Testing Articles

Programming | 2 min read

So Long, “beforeEach”? New Testing Pattern in JavaScript

Tests in TypeScript or JavaScript often run setup code inside hooks like “beforeEach”: Developers must take care to get the setup correct, especially in large or nested test suites. Some test runners now provide fixtures-per-test. We can re-write our test suite as the following: This test setup addresses our original pain points, and adds a […]

developer looking at code behind a screen overlay
Practices | 8 min read

What I Wish Someone Had Told Me About Integration Testing in Flutter

Integration testing in Flutter is fairly well documented. The official docs have a get-started guide that will get you started, and it’s not hard to find answers to common issues on blogs or Stack Overflow. This isn’t going to be a walkthrough of setting up testing Flutter as the docs do a good job of […]

Testing React Native Apps Post Featured Image - Tools
Mobile | 6 min read

Testing React Native Apps: A Sweet Setup for Full-Stack Cross-Platform Testing

Short on time? The answer is to use Jest, React Native Testing Library, and Detox. Here’s a sample repo with it all wired up: https://github.com/klcantrell/testing-react-native-apps-post. The advantages of building an app with React Native apply when testing the app as well. When building, you write code once and get native apps that work well on […]

SEP hex pattern overlay of person working on laptop
General Info | 5 min read

System Testing Multiple Deployment Environments in Cypress 10

Brief intro to Cypress In their own words, “Cypress is a next generation front end testing tool built for the modern web.” If you are not familiar with Cypress, check out their Getting Started docs and then Write Your First E2E Test. If you’ve arrived here from a Selenium-based tool, you might appreciate this comparison article from Cypress. I found this Cypress […]

Microsoft Edge logo
Practices | 5 min read

How to Run Protractor End to End Tests in Microsoft Edge (Chromium)

Microsoft’s new version of Chromium-based Edge has been released. If you’re a Windows user, you might be excited or perhaps indifferent to have a new browser available to you. If you’re a developer, however, you know this new browser represents a new requirement. Perhaps you were just days from finalizing the testing effort on your […]

light up sign that reads "Change"
Practices | 5 min read

Challenge Your Favorites

I’ve written about the many benefits of personal projects before. One nice aspect is being able to try out tools & frameworks in a low-risk environment. In this post I’ll explain one such trial I’m doing and how the tool Comby made switching easy. Are My Go-To Tools Stale? As we gain experience on projects […]

Shift Key
Cloud | 13 min read

Check Out Automated Testing for CloudFormation Templates That’s Not Boring

tCloudFormation is a powerful tool that allows you to define your AWS infrastructure as code. And like any piece of software, testing is an important part of the software development lifecycle. This is especially important when practicing continuous delivery or continuous deployment. In this post, I present a working example of a CI/CD pipeline for […]

close up laptop keyboard and screen with code
DevOps | 2 min read

Scripted Git Branch Deployment with Jenkins

When working with git, normally work is done on a branch then merged onto master. However, it is often desired or required that someone else take a look at it before putting it on master. The process of deploying your branch to a test environment is oftentimes manual / time consuming. It does not have […]

Agile | 2 min read

Task 2, Part Two. Who does Agile Testing?

One day, at my team’s standup meeting, I declared that everyone on the team was a tester. Then I drew this picture: Tester is the base class and Developer is the child class. A specialization of a tester. I don’t know if it was the picture I drew. But the devs and tester on that […]

Agile | 3 min read

Task 6: Map out what your exploratory testing looks like

I wrote a blog post giving an introduction to the 30 days of testing challenge that I am doing.  When I first read this task my first reaction was. I don’t do exploratory testing. But after thinking about it a little bit I concluded that I do it without thinking. I do it all-the-time. Here […]

Agile | 3 min read

Task 4: Read the Agile Manifesto and reflect on the implications of your role

I wrote a blog post giving an introduction to the 30 days of testing challenge that I am doing. Today I complete Task 4: Read the Agile Manifesto and reflect on the implications of your role. The Agile Manifesto has been around since 2001. It is a set of values that 17 thought leaders in […]

Agile | 2 min read

Task 3: Find a Video about Agile Testing and Watch it

I wrote a blog post giving an introduction to the 30 days of testing challenge that I am doing. Today I watched “Testing Strategy: New Model, Better Outcome” by David Laribee. Takeaways I had no idea there were so many models of testing Tests are inventory. One of the eight wastes of Lean is too much […]