Query the DOM the way a user would, not the way the framework does.
Testing Library is not a runner — it is a family of query utilities (React, Vue, Angular, Svelte, DOM, native) that encourage asserting on accessible roles, labels and text rather than component internals. It pairs with Jest or Vitest and has become the default component-testing idiom in the JavaScript world.
Best for
Free and open source
Open sourceFree tier: Everything, self-hosted
What drives the bill: Free and open source. You pay in engineering time and CI minutes.
Check current pricing on OSS community’s siteFigures are indicative and were last reviewed August 2026. Vendors change pricing often; confirm before you commit.
No reviews of Testing Library yet. If you have used it in anger, yours would be the first.
If Testing Library is not the right fit, these solve the same problem differently.