Fixture Content turns real Drupal content into disposable test fixtures: export it once, import it before your tests, and delete it cleanly afterwards without touching any other content.
Built for end-to-end tests (Playwright, Cypress, Behat) on shared development and CI sites that can't be reinstalled between runs. It is a thin layer over the Default Content API in core 11.3.
Features
- Forked export. Fixtures get new UUIDs under a reserved prefix, so source content is never modified and fixtures never collide with it.
- Safe delete. Removes every fixture and nothing else.
- Repeatable import. Fixtures already present are skipped.
- No credentials in your repository. Fixture users get their password from an environment variable.
Post-Installation
For development and test environments only. See the README for installation, configuration and usage.
Additional Requirements
Drupal 11.3 or later, Drush 13 or later.
Similar projects
- Core
content:exportexports content with its original UUIDs. Use it on its own when you don't need to remove the content again. - Default Content ships content in modules, with no clean-up.
- Content Fixtures defines fixtures in PHP and purges all content first, which suits fresh installs.
- Automated Testing Kit provides test helpers and complements this module.
Ask your assistant about Fixture content
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 11 | Nov 26, 2026 |