Changes
- Update minimum support for Testbench Core v9.2.0+. (v9.1.3...v9.2.0)
Testbench Changes
Added
- Added new attributes:
Orchestra\Testbench\Attributes\ResolvesLaravel
Orchestra\Testbench\Attributes\UsesFrameworkConfiguration
- Allows to discover
factories
using Workbench to mapWorkbench\App\Models
toWorkbench\Database\Factories
classes. - Allows to auto discover console command classes from
workbench/app/Console/Commands
.
Changes
- Bump minimum support to Laravel Framework v11.11.
- Implements
JsonSerializable
toOrchestra\Testbench\Foundation\UndefinedValue
. - Update skeleton to use
workbench
as default environment value. - Allow
Orchestra\Testbench\Attributes\Define
andOrchestra\Testbench\Attributes\DefineEnvironment
to be used on the class level by @danjohnson95
Fixes
- Ensure
usesTestingFeature()
attribute registration is loaded before class attributes instead of method attributes.