Releases: orchestral/testbench
Releases · orchestral/testbench
v6.47.0
Changes
- Update minimum support for Testbench Core v6.53.0+. (v6.52.0...v6.53.0)
Testbench Changes
Added
- Added
markTestSkippedWhen()
andmarkTestSkippedUnless()
assertion helper to conditionally handlemarkTestSkipped()
. - Added
Orchestra\Testbench\default_migration_path()
helper function. - Added
Orchestra\Testbench\laravel_vendor_exists()
helper function.
Changes
- Allow Testbench to delete
vendor
symlink directory if it was created while running tests.
Fixes
- Fixes
view.paths
configuration not being updated to includeworkbench/resources/views
due to IoC booting sequence.
Deprecated
- Deprecated
Orchestra\Testbench\laravel_migration_path()
, usedefault_migration_path()
instead.
v9.4.0
Changes
- Update minimum support for Testbench Core v9.4.0+. (v9.3.0...v9.4.0)
Testbench Changes
Added
- Added
artisan
binary to Laravel skeleton. - Added
Orchestra\Testbench\join_paths()
function. - Added
Orchestra\Testbench\Attributes\UsesVendor
attribute class. - Added
defineStashRoutes()
method to register adhoc route for test.
Changes
- Improvements to
Orchestra\Testbench\default_skeleton_path()
,Orchestra\Testbench\package_path()
, andOrchestra\Testbench\workbench_path()
usage based on newOrchestra\Testbench\join_paths()
function.
v8.26.0
Changes
- Update minimum support for Testbench Core v8.27.0+. (v8.26.0...v8.27.0)
Testbench Changes
Added
- Added
artisan
binary to Laravel skeleton. - Added
Orchestra\Testbench\join_paths()
function. - Added
Orchestra\Testbench\Attributes\UsesVendor
attribute class. - Added
defineStashRoutes()
method to register adhoc route for test.
Changes
- Improvements to
Orchestra\Testbench\default_skeleton_path()
,Orchestra\Testbench\package_path()
, andOrchestra\Testbench\workbench_path()
usage based on newOrchestra\Testbench\join_paths()
function.
v7.45.0
Changes
- Update minimum support for Testbench Core v7.46.0+. (v7.45.0...v7.46.0)
Testbench Changes
Added
- Added
artisan
binary to Laravel skeleton. - Added
Orchestra\Testbench\join_paths()
function. - Added
Orchestra\Testbench\Attributes\UsesVendor
attribute class. - Added
defineStashRoutes()
method to register adhoc route for test.
Changes
- Change
afterApplicationCreated()
,afterApplicationRefreshed()
, andbeforeApplicationDestroyed()
methods visibility fromprotected
topublic
. - Improvements to
Orchestra\Testbench\default_skeleton_path()
,Orchestra\Testbench\package_path()
, andOrchestra\Testbench\workbench_path()
usage based on newOrchestra\Testbench\join_paths()
function.
v6.46.0
Changes
- Update minimum support for Testbench Core v6.52.0+. (v6.51.2...v6.52.0)
Testbench Changes
Added
- Added
artisan
binary to Laravel skeleton. - Added
Orchestra\Testbench\join_paths()
function.
Changes
- Change
afterApplicationCreated()
,afterApplicationRefreshed()
, andbeforeApplicationDestroyed()
methods visibility fromprotected
topublic
. - Improvements to
Orchestra\Testbench\default_skeleton_path()
,Orchestra\Testbench\package_path()
, andOrchestra\Testbench\workbench_path()
usage based on newOrchestra\Testbench\join_paths()
function.
v9.3.0
Changes
- Update minimum support for Testbench Core v9.3.0+. (v9.2.0...v9.3.0)
Testbench Changes
Changes
- Update
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
to remove.gitkeep
file when directory contain one or more files. - Code Improvements.
Fixes
- Fixes
InteractsWithPublishedFiles
should only flush published files withindatabase/migrations
directory.
v8.25.0
Changes
- Update minimum support for Testbench Core v8.26.0+. (v8.25.0...v8.26.0)
Testbench Changes
Changes
- Update
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
to remove.gitkeep
file when directory contain one or more files. - Code Improvements.
Fixes
- Fixes
InteractsWithPublishedFiles
should only flush published files withindatabase/migrations
directory.
v7.44.0
Changes
- Update minimum support for Testbench Core v7.45.0+. (v7.44.0...v7.45.0)
Testbench Changes
Changes
- Update
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
to remove.gitkeep
file when directory contain one or more files. - Code Improvements.
Fixes
- Fixes
InteractsWithPublishedFiles
should only flush published files withindatabase/migrations
directory.
v6.45.1
Changes
- Update minimum support for Testbench Core v6.51.2+. (v6.51.0...v6.51.2)
Testbench Changes
Changes
- Code Improvements.
Fixes
- Fixes
InteractsWithPublishedFiles
should only flush published files withindatabase/migrations
directory.
v9.2.0
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.