Releases: orchestral/testbench
Releases · orchestral/testbench
v6.42.0
Changes
- Update minimum support for Testbench Core v6.47.0+. (v6.45.0...v6.47.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Features\TestingFeature
as a replacement toHandlesTestingFeature
trait. - Added
Orchestra\Testbench\Attributes\WithImmutableDates
attribute to forceIlluminate\Support\Date
to useCarbon\CarbonImmutable
. - Added the following helper functions:
Orchestra\Testbench\default_skeleton_path
Orchestra\Testbench\refresh_router_lookups
Deprecated
- Deprecate
Orchestra\Testbench\Concerns\HandlesTestingFeature
trait.
v8.20.0
Changes
- Update minimum support for Testbench Core v8.20.0+. (v8.19.0...v8.20.0)
- Bump minimum
laravel/framework
to10.40.0
.
Testbench Changes
Added
- Flush error and exception handlers between tests using
Orchestra\Testbench\Bootstrap\HandleExceptions::forgetApp()
for PHPUnit 10.
Changes
- Run
route:cache
usingOrchestra\Testbench\remote
function. - Add following traits to
setUpTheTestEnvironmentTraitToBeIgnored
method:Orchestra\Testbench\Concerns\InteractsWithPest
Orchestra\Testbench\Concerns\InteractsWithTestCase
v8.19.0
Changes
- Update minimum support for Testbench Core v8.19.0+. (v8.18.0...v8.19.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Features\TestingFeature
as replacement toHandlesTestingFeature
trait. - Added support for
LOG_DEPRECATIONS_WHILE_TESTING
(default totrue
) environment variables. - Add following interfaces for Attribute handling:
Orchestra\Testbench\Contracts\Attributes\AfterAll
Orchestra\Testbench\Contracts\Attributes\AfterEach
Orchestra\Testbench\Contracts\Attributes\BeforeAll
Orchestra\Testbench\Contracts\Attributes\BeforeEach
Changes
- Bump minimum
laravel/framework
to10.39.0
. - Refactor
Orchestra\Testbench\Concerns\InteractsWithPHPUnit
. - Utilise
Illuminate\Filesystem\join_paths
function.
Deprecated
- Deprecate
Orchestra\Testbench\Concerns\HandlesTestingFeature
trait.
v7.39.0
Changes
- Update minimum support for Testbench Core v7.39.0+. (v7.38.0...v7.39.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Features\TestingFeature
as replacement toHandlesTestingFeature
trait. - Added support for
LOG_DEPRECATIONS_WHILE_TESTING
(default totrue
) environment variables. - Add following interfaces for Attribute handling:
Orchestra\Testbench\Contracts\Attributes\AfterAll
Orchestra\Testbench\Contracts\Attributes\AfterEach
Orchestra\Testbench\Contracts\Attributes\BeforeAll
Orchestra\Testbench\Contracts\Attributes\BeforeEach
Changes
- Refactor
Orchestra\Testbench\Concerns\InteractsWithPHPUnit
.
Deprecated
- Deprecate
Orchestra\Testbench\Concerns\HandlesTestingFeature
trait.
v8.18.0
Changes
- Update minimum support for Testbench Core v8.18.0+. (v8.17.0...v8.18.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Attributes\RequiresEnv
attribute to force an environment variables to be required for the test. - Added
Orchestra\Testbench\Attributes\WithConfig
attribute add a configuration value for the test. - Added
Orchestra\Testbench\Attributes\WithEnv
attribute add an environment variable value for the test. - Added
set()
andforget()
methods toOrchestra\Testbench\Foundation\Env
. - Improves support for testing with Pest using
orchestra/pest-plugin-testbench
.
v7.38.0
Changes
- Update minimum support for Testbench Core v7.38.0+. (v7.37.0...v7.38.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Attributes\RequiresEnv
attribute to force an environment variables to be required for the test. - Added
Orchestra\Testbench\Attributes\WithConfig
attribute add a configuration value for the test. - Added
Orchestra\Testbench\Attributes\WithEnv
attribute add an environment variable value for the test. - Added
set()
andforget()
methods toOrchestra\Testbench\Foundation\Env
.
v6.41.0
Changes
- Update minimum support for Testbench Core v6.45.0+. (v6.44.0...v6.45.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Attributes\RequiresEnv
attribute to force an environment variables to be required for the test. - Added
Orchestra\Testbench\Attributes\WithConfig
attribute add a configuration value for the test. - Added
Orchestra\Testbench\Attributes\WithEnv
attribute add an environment variable value for the test. - Added
set()
andforget()
methods toOrchestra\Testbench\Foundation\Env
.
v8.17.0
Changes
- Update minimum support for Testbench Core v8.17.0+. (v8.16.0...v8.17.0)
Testbench Changes
Added
- Supports Workbench
discovers.components
configuration.
Changes
- Sync
view.paths
configuration when Workbench discover views.
v7.37.0
Changes
- Update minimum support for Testbench Core v7.37.0+. (v7.36.0...v7.37.0)
Testbench Changes
Added
- Supports Workbench
discovers.components
configuration.
Changes
- Sync
view.paths
configuration when Workbench discover views.
v6.40.0
Changes
- Update minimum support for Testbench Core v6.44.0+. (v6.43.0...v6.44.0)
Testbench Changes
Added
- Supports Workbench
discovers.components
configuration.
Changes
- Sync
view.paths
configuration when Workbench discover views.