tipowerup/testbench
Shared Orchestra Testbench foundation for TastyIgniter v4 extensions. Boots full Laravel + TI context for tests with zero duplication: SQLite in-memory DB, array cache, core system tables/migrations, TI providers, temp paths, and extension scanning disabled for isolation.
HttpTests, DatabaseTransactions) while abstracting PowerUp-specific bootstrapping, reducing boilerplate..env)?Http::fake(), Assert::assertDatabaseHas()).PowerUp::module(), PowerUp::service()).PowerUpTestCase).composer.json constraints).bootstrap() or register() methods.orchestra/testbench, pestphp/pest).| Scenario | Risk | Mitigation |
|---|---|---|
| PowerUp version mismatch | Tests fail in CI but pass locally | Pin PowerUp version in composer.json. |
| Undocumented dependencies | Silent test failures | Add pre-test validation (e.g., PowerUp::check()). |
| CI environment drift | Flaky tests | Use containerized CI (e.g., Docker) for consistency. |
| Package abandonment | No updates for Laravel 11+ | Fork and maintain internally. |
| Overhead in host mode | Slow local test execution | Cache PowerUp context or use refresh:0 in tests. |
How can I help you explore Laravel packages today?