Ross ROSS = Recommend OSS ยท open-source software intelligence for agents

testing-library/dom-testing-library

Some data may be outdated โ€” see provenance labels.

๐Ÿ™ Simple and complete DOM testing utilities that encourage good testing practices. observed ยท 2026-09-30

github.com/testing-library/dom-testing-library ยท homepage ยท JavaScript ยท MIT (permissive) observed ยท 2026-09-30

Health v2 ยท maintenance only

85/100

  • Activity 95
  • Release rhythm 63
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) โ€” computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 413
  • age_days: 3119
  • days_rel: 37
  • days_push: 35
  • n_releases_24m: 2

Full methodology

Adoption not part of the score

3335 stars ยท 473 forks observed ยท 2026-09-30

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

DOM Testing Library is a lightweight JavaScript library providing utilities for querying and interacting with DOM nodes in tests, in a way that mimics how real users find elements (by label text, role, visible text). It is the core API of the Testing Library family, with framework wrappers for React, Vue, Angular, and others, and works with any test runner that provides DOM APIs such as Jest with JSDOM.

Use cases

  • test web ui components in a user-centric way
  • query dom elements by label text or aria role in tests
  • write maintainable frontend tests that survive refactors
  • simulate user events and wait for async dom updates
  • test react vue or angular components with testing library
  • improve accessibility by testing with semantic queries

When to choose

  • you want user-centric UI tests that avoid implementation details
  • you need framework-agnostic DOM query utilities for Jest, Vitest, Mocha, or a real browser
  • you want tests that double as accessibility checks

When to avoid

  • you need a test runner or assertion framework - it is neither
  • you are testing non-DOM code such as Node backend logic
  • you want snapshot or implementation-detail testing of component internals

Facets

library ยท maturity active

testing e2e-testing ui-components testing frontend web-development accessibility developer-tools browser dom-testing jsdom jest user-centric-testing queries accessibility-testing nodejs javascript

10 sources

Member repositories

RepositoryRoleHealth v2
testing-library/dom-testing-librarymain85

For agents

markdown ยท JSON ยท MCP: product_card(name="testing-library/dom-testing-library")

Data as of 2026-10-19T08:05:51.212177+00:00 ยท Report a problem