Pros:
phpunit.xml and tests/ directory structure).Cons:
hidev CLI, custom config files) if not already in use.Artisan test helpers or Pest integration).phpunit.xml.dist and tests/_bootstrap.php, which Laravel projects already expect.phpunit --coverage).phpunit-skeleton-generator) could reduce boilerplate for new test files.hidev-config) may clash with Laravel’s existing phpunit.xml or .env-based configurations.tests/_bootstrap.php, while Laravel may use tests/CreatesApplication.php or similar.laravel/testbench or Pest).phpunit.xml + Artisan::test.laravel/testbench for package testing.phpunit.xml, tests/ structure, and CI/CD pipelines.composer.json and package.json (if using Laravel Mix).hiqdev/hidev-phpunit in a non-production branch.hidev gentest).hidev test --coverage).php artisan test).phpunit.xml.dist with Laravel’s existing config.tests/_bootstrap.php if Laravel uses a custom bootstrap file.phpunit commands with hidev test in GitHub Actions/GitLab CI.# Before
- php artisan test
# After
- hidev test --coverage
tests/, app/).hidev-config may override Laravel’s .env.testing or phpunit.xml settings.RefreshDatabase, MakesHttpRequests).hiqdev/hidev-phpunit in isolation.hidev test replaces phpunit/artisan test.CONTRIBUTING.md.hidev gentest) in team runbooks.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| HiDev config overrides Laravel tests | Tests fail due to misconfigured phpunit.xml |
Use hidev-config merge strategies or manual overrides. |
| PHPUnit 9+ incompatibility | Tests break after Laravel upgrade | Fork and update the package. |
| HiDev CLI tooling issues | hidev test commands fail |
Fall back to php artisan test. |
| Coverage report generation fails | No test coverage data in CI | Use native phpunit --coverage. |
hidev test in CI.How can I help you explore Laravel packages today?