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 in 2023 so far.
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.
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?”»
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.
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 Analytics Code
How do you know your code actually works? Unit testing was a concept I had never even heard of before I started my second data science job. It never came up in any of my college statistics or computer…
«Lastly, there are many tools in Python (pytest, unittest, etc.) and R (testthat) to make unit testing as simple as writing a few lines of logic and an assertion or two.»
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…
What is Refind?
Every day Refind picks the most relevant links from around the web for you. 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 the most relevant links every day, tailored to their interests. They provide feedback via implicit and explicit signals: open, read, listen, share, mark as read, read later, «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.
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?
250k+ 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.