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

testcontainers/testcontainers-node

Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container. observed · 2026-08-28

github.com/testcontainers/testcontainers-node · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

98/100

  • Activity 99
  • Release rhythm 96
  • Longevity 100
How is this computed?

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

  • gap_med: 9
  • age_days: 3162
  • days_rel: 29
  • days_push: 10
  • n_releases_24m: 52

Full methodology

Adoption not part of the score

2592 stars · 266 forks observed · 2026-08-28

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

Testcontainers for Node.js is a TypeScript library that spins up lightweight, throwaway Docker containers of real dependencies like databases, message brokers, and web browsers for use in tests. It provides a programmatic API to start and stop containers from test code, replacing mocks and in-memory services with real services.

Use cases

  • spin up a throwaway postgres container for integration tests in node
  • run tests against real redis instead of mocks
  • start selenium browser containers for e2e tests
  • bootstrap local dev dependencies with docker from code
  • replace in-memory databases with real services in CI
  • test database repository code against a real database

When to choose

  • you write Node.js integration tests that need real databases, brokers, or browsers
  • you want deterministic, isolated test infrastructure without shared state
  • you want to avoid mocks and in-memory fakes that diverge from production behavior

When to avoid

  • your environment has no Docker available
  • you only need fast unit tests with no external dependencies
  • you need containers managed outside the test lifecycle

Facets

library · maturity active

testing e2e-testing container-runtime developer-tools testing developer-tools databases cross-platform testcontainers integration-testing docker throwaway-containers test-dependencies containers nodejs

7 sources

Member repositories

RepositoryRoleHealth v2
testcontainers/testcontainers-nodemain98

For agents

markdown · JSON · MCP: product_card(name="testcontainers/testcontainers-node")

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