@testing-library/dom
Simple and complete DOM testing utilities that encourage good testing practices.
The breakdown
There's no cost to use @testing-library/dom at all — it's free, full stop.
@testing-library/dom is solidly rated, scoring 4.4 out of 5 on our rating metric.
Over the period tracked, @testing-library/dom has seen a sharp upward trajectory, up about 81% over 2 years.
none of the 3 tracked metrics put @testing-library/dom above the testing frameworks average.
@testing-library/dom has been around since 2019, long enough to shake out early rough edges.
Key stats
The trade-offs
Strengths
- Free to use, with no paid tier required to get started.
Watch-outs
- Falls short on weekly downloads — 111,747,221 against a category average of 131,784,493.
- Falls short on dependent packages — 956 against a category average of 6,610.
- Popularity score trails the category average: 4.4 / 5 vs. 4.4 / 5.
- Growing fast enough that current figures may shift quickly — verify before relying on them.
@testing-library/dom vs. Testing Frameworks average
| Feature | @testing-library/dom | Testing Frameworks average |
|---|---|---|
| Weekly Downloads | 111,747,221 | 131,784,493 |
| Dependent Packages | 956 | 6,610 |
| Popularity score | 4.4 / 5 | 4.4 / 5 |
Adoption trend
Quick answers
Is @testing-library/dom free to use?
Yes — @testing-library/dom is free, with no paid tier required to get started.
Is @testing-library/dom good? What's its rating?
@testing-library/dom scores 4.4 out of 5 on our rating metric, versus a Testing Frameworks category average of 4.4.
How many people use @testing-library/dom?
@testing-library/dom has roughly 111.7M users/stars tracked, compared to a category average of 131.8M.
When was @testing-library/dom founded?
@testing-library/dom was founded in 2019, making it 7 years old.
Is @testing-library/dom growing?
Yes — usage is up roughly 81% over the past 2 years.
Ready to see @testing-library/dom for yourself?
Opens the official site in a new tab.