# jbogard/Respawn

Intelligent database cleaner for integration tests

Repository: https://github.com/jbogard/Respawn
Canonical: https://ross.abutalabs.com/products/respawn
Language: C#
License: Apache-2.0
License Family: permissive
Last push: 2026-01-19T17:21:15+00:00

## Health v2 (maintenance only)
Score: 58/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 63, release rhythm 27, longevity 100
- inputs: {"age_days": 4213, "days_push": 226, "days_rel": 276, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3019, forks 153 (observed 2026-08-28T04:07:38.442475+00:00)

## What it is
Respawn is a .NET library that intelligently resets test databases to a clean state between integration tests. It analyzes foreign key relationships to build a deterministic deletion order, supporting SQL Server, PostgreSQL, MySQL, Oracle, and Informix.

## Use cases
- reset database to clean state between integration tests
- delete test data respecting foreign key constraints
- replace transaction rollback strategies in test fixtures
- clean database tables before each test run
- isolate database state in automated test suites

## When to choose
- you run integration tests against a real database and need repeatable clean state
- transaction rollbacks or manual deletes are causing flaky or slow tests
- you need foreign-key-aware deletion across multiple SQL databases

## When to avoid
- you only run unit tests with mocked data access
- you need full database snapshots or migrations rather than data deletion
- your stack is not .NET

## Facets
- artifact type: library
- maturity: active
- function: testing, database, database-driver
- domain: testing, databases, developer-tools
- platform: dotnet, cross-platform
- tags: integration-testing, test-data-management, database-reset, sql-server, postgresql, mysql, oracle

## Member repositories
- jbogard/Respawn (main) score 58

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:38.442475+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:46:54.446191+00:00, confidence not recorded.
  - readme: https://github.com/jbogard/Respawn (fetched 2026-08-28T04:07:38.442475+00:00, sha 1baaa5125574)
- Data as of 2026-08-30T08:39:29.467469+00:00.
