bahmutov/start-server-and-test
Starts server, waits for URL, then runs test command; when the tests end, shuts down server observed · 2026-08-28
Health v2 · maintenance only
97/100
- Activity 98
- Release rhythm 95
- 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: 13.5
- age_days: 3225
- days_rel: 32
- days_push: 16
- n_releases_24m: 27
Adoption not part of the score
1581 stars · 96 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Node.js CLI utility that starts a server, waits for a given URL to respond, runs a test command, and then shuts the server down. It is designed to be used inside npm scripts to simplify end-to-end and integration test workflows.
Use cases
- start a dev server and run e2e tests against it in CI
- wait for localhost to respond before running Cypress tests
- run mocha tests after an http-server starts on a port
- orchestrate server startup and teardown around a test command
- run integration tests in npm scripts without manual server management
When to choose
- you need to start a server, wait for it to be ready, run tests, and shut it down automatically
- you use npm scripts and want a simple one-command CI test flow
- you run Cypress, Mocha, or similar tests against a local server
When to avoid
- your test framework already has built-in server lifecycle management
- you need complex multi-service orchestration or parallel server startup
- you are not using Node.js/npm-based tooling
Facets
cli-tool · maturity active
testing e2e-testing cli developer-tools testing developer-tools web-development cli cross-platform npm-scripts ci server-startup wait-for-url test-orchestration command-line nodejs
1 source
- readme: https://github.com/bahmutov/start-server-and-test · fetched 2026-08-28 · 1f90a8c84746
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| bahmutov/start-server-and-test | main | 97 |
For agents
markdown · JSON · MCP: product_card(name="bahmutov/start-server-and-test")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem