10 Best Articles on Unit Testing
The most useful articles on unit testing from around the web—beginners to advanced—curated by thought leaders and our community. We focus on timeless pieces and update the list whenever we discover new, must-read articles or videos—make sure to bookmark and revisit this page.
Top 5 Unit Testing Articles
At a glance: these are the articles that have been most read, shared, and saved on unit testing by Refind users.
How to ...?
How to Start Unit Testing Your JavaScript Code
We all know we should write unit tests. But, it's hard to know where to start and how much time to devote to tests compared to actual implementation. So, where to start? And is it just about testing…
Short Articles
Short on time? Check out these useful short articles on unit testing—all under 10 minutes.
How Stack Overflow is leveling up its unit testing game
We neglected unit tests for a long time because our code base made them difficult. But now we're putting in the work to change that.
Unit and Integration Tests
The second axis is the fraction of the code which gets exercised, potentially indirectly, by the test. Does the test exercise only the business logic module, or is the database API and the HTTP…
«The first axis of classification is, broadly speaking, performance. “How much time would a thousand of similar tests take?”»
JavaScript End to End Testing Framework
Fast, easy and reliable testing for anything that runs in a browser. Install Cypress in seconds and take the pain out of front-end testing.
A Set of Unit Testing Rules
Let's Reconsider That A Set of Unit Testing Rules by Michael Feathers September 9, 2005 Summary Don't let slow tests bog you down. Teams that adopt agile practices often adopt Test Driven Development…
Long Articles
These are some of the most-read long-form articles on unit testing.
Unit Testing is Overrated
The importance of testing in modern software development is really hard to overstate. Delivering a successful product is not something you do once and forget about but is rather a continuous recurring…
Why Good Developers Write Bad Unit Tests
The standard techniques of good development can lead you astray if you don’t adjust them for unit tests.
Testing Node serverless applications — AWS Lambda functions
Learn how to strike the right balance between unit, integration, and end-to-end testing for Node serverless applications.
Five Factor Testing
When I took my first real dev job in the late 90s, it was not common for developers to write their own automated tests. Instead, large companies depended on teams of testers, who tested manually, or…
Goto Fail, Heartbleed, and Unit Testing Culture
Mike Bland explains how to create a unit-testing culture in an organization with the example of his experience at Google. Such a culture could have prevented bugs like goto fail and heartbleed
Publications
We monitor hundreds of publications, blogs, newsletters, and news sources in Unit Testing, including:
freeCodeCamp.org
We're a community of millions of people who are building new skills and getting new jobs together. A 501(c)(3) public charity. Tweets by @abbeyrenn.
Martin Fowler
Author on Software Development. Works for Thoughtworks. Also hikes, watches theater, and plays modern board games. He/him. @mfowler@toot.thoughtworks.com
Stack Overflow
Stack Overflow empowers the world to develop technology through collective knowledge.
LogRocket
LogRocket combines session replay, performance monitoring, and product analytics – empowering software teams to create the ideal product experience.
What is Refind?
Every day Refind picks 5 links from around the web for every user, tailored to the user’s interests. Picking only a handful of links means focusing on what’s relevant and useful. We favor timeless pieces—links with long shelf-lives, articles that are still relevant one month, one year, or even ten years from now. These lists of the best resources on any topic are the result of years of careful curation.
How does Refind curate?
It’s a mix of human and algorithmic curation, following a number of steps:
- We monitor 10k+ sources and 1k+ thought leaders on hundreds of topics—publications, blogs, news sites, newsletters, Substack, Medium, Twitter, etc.
- In addition, our users save links from around the web using our Save buttons and our extensions.
- Our algorithm processes 100k+ new links every day and uses external signals to find the most relevant ones, focusing on timeless pieces.
- Our community of active users gets 5 links every day, tailored to their interests. They provide feedback via implicit and explicit signals: open, read, listen, share, add to reading list, save to «Made me smarter», «More/less like this», etc.
- Our algorithm uses these internal signals to refine the selection.
- In addition, we have expert curators who manually curate niche topics.
The result: lists of the best and most useful articles on hundreds of topics.
How does Refind detect «timeless» pieces?
We focus on pieces with long shelf-lives—not news. We determine «timelessness» via a number of metrics, for example, the consumption pattern of links over time.
How many sources does Refind monitor?
We monitor 10k+ content sources on hundreds of topics—publications, blogs, news sites, newsletters, Substack, Medium, Twitter, etc.
Which sources does Refind monitor on unit testing?
We monitor hundreds of sources on unit testing, including freeCodeCamp.org, Martin Fowler, Stack Overflow, LogRocket, and many more.
Can I submit a link?
Indirectly, by using Refind and saving links from outside (e.g., via our extensions).
How can I report a problem?
When you’re logged-in, you can flag any link via the «More» (...) menu. You can also report problems via email to hello@refind.com
Who uses Refind?
100k+ smart people start their day with Refind. To learn something new. To get inspired. To move forward. Our apps have a 4.9/5 rating.
Is Refind free?
Yes, it’s free!
How can I sign up?
Head over to our homepage and sign up by email or with your Twitter or Google account.