This site runs best with JavaScript enabled.
Looking for something specific? Search for a blogpost here.

Why your team needs TestingJavaScript.com

Dear Boss, Our team has been working hard to make the product serve our customers the best we can. It's been a real challenge. One of our biggest problems is code quality. We let too many bugs slip into production. We care deeply about code quality and good user experience, but right now our testing…

Read →

Inversion of Control

Watch "Implement Inversion of Control" on egghead.io https://egghead.io/lessons/egghead-implement-inversion-of-control?pl=kent-s-blog-posts-as-screencasts-eefa540c&af=5236ad If you've ever built code that was used in more than one place before, then you're likely familiar with this story: You build…

Read →

Understanding React's key prop

Play around with this form: Specifically, try changing the subject, then switch the topic and notice that the value in the input field doesn't change to a more sensible subject. Even if you type something like "My company needs training" and then changing the topic from "Training" to "Question" it…

Read →

How to Enable React Concurrent Mode

React's new Concurrent Mode has just been published in the experimental release channel . It's the result of years of research and that shows. If you'd like to learn more about why it's so cool, definitely watch Dan Abramov's talk at JSIceland . And people have started playing around with it and…

Read →

How to add testing to an existing project

We've all been there. You're working on an app that was "just a prototype" and was "definitely not going to get shipped this way." Or maybe you didn't have time to prototype it, and you certainly didn't have time to write tests for it. Or perhaps you join a team that's just never tested their code…

Read →

Building the Open Source Community We Want

I've been participating in the creation of open source software since 2012. My first pull request was to fix a typo I saw in a comment of the Java Playframework. It wasn't much, but being my first ever contribution, it was new, exciting, and even a little stressful. And on the same day a…

Read →

Making your UI tests resilient to change

Current Available Translations: Traditional Chinese You're a developer and you want to avoid shipping a broken login experience, so you're writing some tests to make sure you don't. Let's get a quick look at an example of such a form : Now, if we were to test this form, we'd want to fill in the…

Read →