packagist orchestra/testbench v7.58.0

latest releases: v11.3.0, v10.12.0, v9.18.0...
8 hours ago

Changes

Testbench Changes

Added
  • Add Orchestra\Testbench\Foundation\Env::flushState() method and revert class deprecation.
  • Add Orchestra\Testbench\php_version_compare() function.
  • Allow --pretend options on relevant commands.
Changes
  • Loads Orchestra\Testbench\Attributes\WithConfig after application has been booted to allow merging configuration via Service Provider by default. Use defer: false parameter to disable this.
  • Add TESTBENCH_USER_MODEL environment variable when running serve command.
  • Utilise Orchestra\Testbench\Foundation\Console\TerminatingConsole when running serve.
  • Run seeder when testbench.yaml configured with seeders: true.
Fixes
  • Fix Orchestra\Testbench\Attributes\WithConfig shouldn't defer setting up framework configuration.
  • Fix --parallel compatibility with WithFixtures trait.
  • Fix #[UsesVendor] attribute fails due to unbooted application, causing BindingResolutionException to be thrown.

Don't miss a new testbench release

NewReleases is sending notifications on new releases.