apnet/functional-test-bundle
HttpTests or Dusk—risk of redundancy.HttpClient, BrowserKit), which may introduce indirect dependencies.Testing facade or HttpClient?actingAs()?HttpClient) who want consistency.HttpTests suffice).composer.json with exact version constraints (e.g., ^1.0 if versioned).config/bundles.php (Symfony-style) or via Laravel service provider.symfony/http-client).composer why-not to detect conflicts.| Phase | Action Items |
|---|---|
| Discovery | Document current test coverage; identify gaps. |
| Pilot | Implement 1–2 tests using the bundle; compare with manual implementations. |
| Validation | Run in CI/CD to check for flakiness or failures. |
| Adoption | Replace custom test logic incrementally. |
| Deprecation | Phase out redundant test helpers (if any). |
--parallel flag.Feature_ prefix).| Risk | Mitigation Strategy |
|---|---|
| Bundle breaks with Laravel upgrades | Pin to exact versions; monitor for upstream changes. |
| Tests become flaky | Implement retry logic for non-deterministic tests. |
| Undocumented behavior | Add integration tests for the bundle itself (e.g., test its test helpers). |
| Abandonment by maintainers | Fork and maintain internally if critical. |
| Overhead from Symfony deps | Audit unused components; consider alternatives like guzzlehttp/guzzle. |
createClient() instead of Http::fake() for complex workflows."assertResponse() for API contracts").How can I help you explore Laravel packages today?