atlas/testing
Atlas.Testing provides lightweight helpers and utilities for testing Atlas packages, aimed at simplifying test setup and improving consistency across Atlas-related projects. Suitable for package authors who need reusable testing support.
assertCascadeDelete()").assertManyToManyRelation(), assertTableHasNoPrimaryKey()).create() helpers are overkill).For Executives: "Atlas.Testing is a targeted tool to accelerate testing for our Atlas-based database packages—saving weeks of manual test setup for features like many-to-many relationships or schema migrations. By adopting this, we’ll validate Atlas-centric logic faster (e.g., [specific roadmap item]) while reducing technical debt from custom test scripts. The trade-off? Minimal maintenance risk (last updated 2020), but the ROI is clear: fewer bugs in production and faster releases for database-heavy features. Let’s pilot it for [use case] and measure the impact on our [release velocity/metric]."
For Engineering:
*"This package lets us write tests like Atlas::assertCascadeDelete() or Atlas::assertTableSchema() without reinventing the wheel. For example, testing a no-PK table or a complex relationship becomes:
Atlas::assertTableHasNoPrimaryKey('users');
Atlas::assertManyToManyRelation($user, $roles);
Pros:
For Test Engineers/QA: *"If you’re tired of writing repetitive SQL assertions for Atlas models, this package offers helpers like:
createUserWithPosts() (predefined relationships).assertRecordCount() (Atlas-specific).How can I help you explore Laravel packages today?