Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Testbench Laravel Package

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.

View on GitHub
Deep Wiki
Context7
0.1.0

Added

  • Initial release with dual-mode testing support (host app and standalone CI)
  • TestCase base class extending Orchestra Testbench
  • TestsMigrations trait for migration cycle assertions
    • assertMigrationCycle() - verify tables are created and dropped correctly
    • assertSurvivesInstallCycles() - test multiple install/uninstall cycles
    • assertNoCoreTables() - ensure migrations don't modify core TI tables
    • assertProperDownMethods() - verify all migrations have non-empty down() methods
    • assertSchemaAcceptsSeedData() - validate schema structure after rollback/migrate
  • TestsTIIntegration trait for TI-specific assertions
    • assertParamsWork() - test TI settings storage/retrieval
    • assertExtensionRegistered() - verify extension registration
    • assertTIInstallCycle() - test extension install/uninstall/reinstall
    • assertCleanPurge() - verify purging drops all tables
    • assertNavigationRegistered() - check admin navigation items
    • assertPermissionsRegistered() - verify permission registration
  • MocksTIServices trait for pre-built TI service mocks
    • mockExtensionManager() - mock ExtensionManager with sensible defaults
    • mockHubManager() - mock HubManager (theme management)
    • mockUpdateManager() - mock UpdateManager
    • mockPackageManifest() - mock PackageManifest
    • mockService() - generic service mocker with custom stubs
  • Smart bootstrap that auto-detects host app vs standalone mode
  • Automatic temp directory cleanup after tests
  • SQLite in-memory database configuration for isolated testing
  • Orchestra Testbench integration (Laravel 11 + 12 support)
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor