atoms / testing
Test tooling for Atoms: AtomHarness (in-process Atom execution against temp SQLite), fakes and recorders.
0.6.0
2026-09-05 15:26 UTC
Requires
- php: ^8.3
- ext-pdo_sqlite: *
- atoms/core: ^0.6
- phpunit/phpunit: ^10.5 || ^11.0 || ^12.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Test an Atom locally against a real temporary SQLite database without a
network connection or Cloudflare account. AtomHarness exercises migrations,
lifecycle hooks, serialization, app(), jobs, broadcasts, WebSockets, and
timers using the same atoms/core contracts as the deployed runtime.
composer require --dev atoms/testing:^0.6
See the Atoms documentation for local testing patterns and framework-specific fakes.
Development and support
This package is developed in the Atoms monorepo. Its standalone repository is a read-only distribution mirror; report issues and send pull requests to the monorepo. Licensed under the MIT License.