Releases: orchestral/testbench
Releases · orchestral/testbench
v10.2.1
v10.2.0
Changes
- Update minimum support for Testbench Core v10.2.0+. (v10.1.0...v10.2.0)
Testbench Changes
Added
- Add ability to pass
Closure
toOrchestra\Testbench\remote()
function.
Changes
- Add support for PHPUnit 12.1.
- Refactor
Orchestra\Testbench\remote()
function to useOrchestra\Testbench\Foundation\Process\RemoteCommand
. - Rename
TESTBENCH_ENVIRONMENT_FILE_USING
toTESTBENCH_ENVIRONMENT_FILE_USING
(internal environment variable).
v9.13.0
Changes
- Update minimum support for Testbench Core v9.13.0+. (v9.12.0...v9.13.0)
Testbench Changes
Added
- Add ability to pass
Closure
toOrchestra\Testbench\remote()
function.
Changes
- Add support for PHPUnit 12.1.
- Refactor
Orchestra\Testbench\remote()
function to useOrchestra\Testbench\Foundation\Process\RemoteCommand
. - Rename
TESTBENCH_ENVIRONMENT_FILE_USING
toTESTBENCH_ENVIRONMENT_FILE_USING
(internal environment variable).
v8.35.0
Changes
- Update minimum support for Testbench Core v8.36.0+. (v8.35.0...v8.36.0)
Testbench Changes
Changes
- Refactor
Orchestra\Testbench\remote()
function to useOrchestra\Testbench\Foundation\Process\RemoteCommand
. - Rename
TESTBENCH_ENVIRONMENT_FILE_USING
toTESTBENCH_ENVIRONMENT_FILE_USING
(internal environment variable). - Add support for
workbench/bootstrap/providers.php
.
v7.54.0
Changes
- Update minimum support for Testbench Core v7.55.0+. (v7.54.0...v7.55.0)
Testbench Changes
Changes
- Refactor
Orchestra\Testbench\remote()
function to useOrchestra\Testbench\Foundation\Process\RemoteCommand
. - Rename
TESTBENCH_ENVIRONMENT_FILE_USING
toTESTBENCH_ENVIRONMENT_FILE_USING
(internal environment variable). - Add support for
workbench/bootstrap/providers.php
.
v10.1.0
Changes
- Update minimum support for Testbench Core v10.1.0+. (v10.0.0...v10.1.0)
Testbench Changes
Added
- Added
resolvePhpUnitTestClassName()
andresolvePhpUnitTestMethodName()
toOrchestra\Testbench\Concerns\InteractsWithPHPUnit
trait.
Changes
- Allows
usesTestingFeature()
to register attribute directly on test method. - Improves
vendor
detection on the default skeleton. - Utilise
Orchestra\Sidekick\is_symlink()
function instead ofis_link()
to improves support on Windows. - Use
::class
instead ofget_class()
. - Delete
vendor
symlink viapackage:purge-skeleton
command.
Fixes
- Fix static variable via
Orchestra\Testbench\Attributes\UsesVendor::beforeEach()
method.
Deprecate
- Deprecate following PHPUnit annotations:
@environment-setup
@define-env
@define-database
@define-route
v9.12.0
Changes
- Update minimum support for Testbench Core v9.12.0+. (v9.11.0...v9.12.0)
Testbench Changes
Added
- Added
resolvePhpUnitTestClassName()
andresolvePhpUnitTestMethodName()
toOrchestra\Testbench\Concerns\InteractsWithPHPUnit
trait.
Changes
- Allows
usesTestingFeature()
to register attribute directly on test method. - Improves
vendor
detection on the default skeleton. - Utilise
Orchestra\Sidekick\is_symlink()
function instead ofis_link()
to improves support on Windows. - Use
::class
instead ofget_class()
. - Delete
vendor
symlink viapackage:purge-skeleton
command.
Fixes
- Fix static variable via
Orchestra\Testbench\Attributes\UsesVendor::beforeEach()
method.
Deprecate
- Deprecate following PHPUnit annotations:
@environment-setup
@define-env
@define-database
@define-route
v8.34.0
Changes
- Update minimum support for Testbench Core v8.35.0+. (v8.34.0...v8.35.0)
Testbench Changes
Added
- Added
resolvePhpUnitTestClassName()
andresolvePhpUnitTestMethodName()
toOrchestra\Testbench\Concerns\InteractsWithPHPUnit
trait.
Changes
- Allows
usesTestingFeature()
to register attribute directly on test method. - Improves
vendor
detection on the default skeleton. - Utilise
Orchestra\Sidekick\is_symlink()
function instead ofis_link()
to improves support on Windows. - Use
::class
instead ofget_class()
. - Delete
vendor
symlink viapackage:purge-skeleton
command.
Fixes
- Fix static variable via
Orchestra\Testbench\Attributes\UsesVendor::beforeEach()
method.
v7.53.0
Changes
- Update minimum support for Testbench Core v7.54.0+. (v7.53.0...v7.54.0)
Testbench Changes
Added
- Added
resolvePhpUnitTestClassName()
andresolvePhpUnitTestMethodName()
toOrchestra\Testbench\Concerns\InteractsWithPHPUnit
trait.
Changes
- Allows
usesTestingFeature()
to register attribute directly on test method. - Improves
vendor
detection on the default skeleton. - Utilise
Orchestra\Sidekick\is_symlink()
function instead ofis_link()
to improves support on Windows. - Use
::class
instead ofget_class()
. - Delete
vendor
symlink viapackage:purge-skeleton
command.
Fixes
- Fix static variable via
Orchestra\Testbench\Attributes\UsesVendor::beforeEach()
method.
v10.0.0
Changes
- Update support for Laravel Framework v12.
- Update
Orchestra\Testbench\TestCase
to useIlluminate\Foundation\Testing\Concerns\InteractsWithViews
trait.
Removed
- Remove deprecated functions:
Orchestra\Testbench\once()
Orchestra\Testbench\transform_relative_path()
- Remove deprecated methods in
Orchestra\Testbench\Concerns\CreatesApplication
trait:getBasePath()
getDefaultApplicationBootstrapFile()
- Remove deprecated methods in
Orchestra\Testbench\Concerns\InteractsWithMigrations
trait:loadMigrationsWithoutRollbackFrom()
loadLaravelMigrationsWithoutRollback()
runLaravelMigrationsWithoutRollback()