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

testing-library/dom-testing-library

🐙 Simple and complete DOM testing utilities that encourage good testing practices. observed · 2026-08-28

github.com/testing-library/dom-testing-library · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

46/100

  • Activity 51
  • Release rhythm 8
  • Longevity 100
How is this computed?

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

  • gap_med: n/a
  • age_days: 3071
  • days_rel: 402
  • days_push: 294
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

3332 stars · 473 forks observed · 2026-08-28

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-librarymain46

For agents

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

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem