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.
TestCase base class extending Orchestra TestbenchTestsMigrations trait for migration cycle assertions
assertMigrationCycle() - verify tables are created and dropped correctlyassertSurvivesInstallCycles() - test multiple install/uninstall cyclesassertNoCoreTables() - ensure migrations don't modify core TI tablesassertProperDownMethods() - verify all migrations have non-empty down() methodsassertSchemaAcceptsSeedData() - validate schema structure after rollback/migrateTestsTIIntegration trait for TI-specific assertions
assertParamsWork() - test TI settings storage/retrievalassertExtensionRegistered() - verify extension registrationassertTIInstallCycle() - test extension install/uninstall/reinstallassertCleanPurge() - verify purging drops all tablesassertNavigationRegistered() - check admin navigation itemsassertPermissionsRegistered() - verify permission registrationMocksTIServices trait for pre-built TI service mocks
mockExtensionManager() - mock ExtensionManager with sensible defaultsmockHubManager() - mock HubManager (theme management)mockUpdateManager() - mock UpdateManagermockPackageManifest() - mock PackageManifestmockService() - generic service mocker with custom stubsHow can I help you explore Laravel packages today?