orchestra/testbench-dusk
Helper for testing Laravel packages with Laravel Dusk. Provides a Testbench-based setup to run browser tests in a package development workflow, maintained under the Orchestra namespace with ongoing support and community contributions.
Adopt if:
Look elsewhere if:
"This package lets us ship higher-quality Laravel packages faster by automating browser-based tests—critical for validating UI interactions and integrations without manual QA. For example, if we’re building a [package name] for [target audience, e.g., e-commerce platforms], this ensures our dashboard widgets, auth flows, and API integrations work seamlessly in real Laravel apps. It’s a build vs. buy win: we avoid reinventing Dusk testing infrastructure while future-proofing our roadmap for Laravel 13+ and PHP 8.5. Early adoption here could reduce post-release bugs by 30% and accelerate time-to-market for our [product line]."
*"Testbench Dusk bridges the gap between Laravel Testbench (for unit/integration tests) and Dusk (for E2E tests), giving us a single framework to test package UI logic, auth flows, and Laravel integrations. Key benefits:
beforeServingApplication() hooks).Tradeoff: Adds ~5–10% setup time for Dusk (ChromeDriver, etc.), but pays off for packages with UI surfaces. Let’s pilot it on [high-priority package] to validate ROI."*
Key Metric to Track: Reduction in post-release UI/integration bugs and time spent on manual QA.
How can I help you explore Laravel packages today?