Archive of stories published by Expected Behavior Blog

Testing Promises Indirectly with Jest

By Tony Dewan

I recently ran into difficulty creating obvious and readable tests for React components that indirectly rely on promises. I ended up with a handy workaround that allows both native asynchronous and test-friendly synchronous…


How To Unit Test CoffeeScript 2 React Components in Rails

By Tony Dewan and Matt Gordon

For Instrumental, we like to write our React components in CoffeeScript. It’s not the most common choice, but we love the aesthetics of CoffeeScript and we love writing React…


How We Write Commit Messages

By Tony Dewan and Jason Gladish

Why Commit Messages Matter

If you’ve worked on a codebase of any age or with many collaborators, you’ve surely had the question: “why is this code this way?”


Cost of GDPR Compliance for a Small Software Business

By Jonathon Fruchte

There are plenty of blog posts detailing GDPR compliance strategies. This is not one of them. Regardless of what you read, there are parts of GDPR that are simply not well defined (Art. 27…


Edging Into Serverless

By Tony Dewan and Matt Gordon

Tl;dr We dropped a tiny amount of AWS Lambda into our Rails app to get some much-needed job concurrency in a project with spiky demand and tight execution requirements.


How and Why We Pair

By Tony Dewan

Over the last few years, most of the product teams at Expected Behavior have…


How to use Dynamic Custom Text in Google Ads (nee Google AdWords)

By James Paden

As a long-time Google Ad(word)s user, I’ve always dreamed of adding custom ad text based on the search keyword. It turns out that functionality has existed for years, I just…

These were the top 10 stories published by Expected Behavior Blog; you can also dive into yearly archives: 2018, 2019, and 2020.

About
Expected Behavior Blog
We're a team of friends who build awesome software together. We run Instrumental, a super duper high-scale server and application monitoring tool, and DocRaptor, an HTML-to-PDF conversion API. This blog is just random things we've learned along the way.
More information
Tags
Editors