dmaicher/doctrine-test-bundle
Symfony bundle to isolate your app's doctrine database tests and improve the test performance observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 86
- Release rhythm 54
- 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: 41
- age_days: 3821
- days_rel: 224
- days_push: 85
- n_releases_24m: 8
Adoption not part of the score
1189 stars · 61 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Symfony bundle that isolates Doctrine database tests by wrapping DBAL drivers with a StaticDriver and using a PHPUnit extension to begin and roll back transactions around each test. It also configures a static array cache for metadata and queries to speed up and reduce memory usage of test suites.
Use cases
- speed up symfony doctrine test suite
- isolate database tests with transaction rollback
- avoid rebuilding schema or fixtures before every test
- cache doctrine metadata between kernel boots in tests
- run phpunit tests against a shared database state safely
When to choose
- you have a Symfony app using Doctrine DBAL/ORM and PHPUnit
- your test suite is slow due to schema rebuilds or fixture re-imports per test
- you want per-test database isolation without reseeding data
When to avoid
- your tests rely on DDL statements that implicitly commit transactions
- you are not using Symfony or Doctrine DBAL
- you need tests to observe committed data across separate processes or connections
Facets
library · maturity stable
testing database orm testing web-development databases developer-tools php cli symfony-bundle doctrine phpunit transaction-rollback test-isolation test-performance
1 source
- readme: https://github.com/dmaicher/doctrine-test-bundle · fetched 2026-08-28 · ddb1463a4398
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dmaicher/doctrine-test-bundle | main | 78 |
For agents
markdown · JSON · MCP: product_card(name="dmaicher/doctrine-test-bundle")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem