Changes
- Update minimum support for Testbench Core v8.25.0+. (v8.24.3...v8.25.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
- 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.