atoms / testing
Test tooling for Atoms: AtomHarness (in-process Atom execution against temp SQLite), fakes and recorders.
Package info
pkg:composer/atoms/testing
0.1.1
2026-08-15 14:13 UTC
Requires
- php: ^8.3
- ext-pdo_sqlite: *
- atoms/core: ^0.1
- phpunit/phpunit: ^10.5 || ^11.0 || ^12.0
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.1
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.