This changelog references the relevant changes (bug and security fixes) done to orchestra/testbench
.
Released: 2024-10-06
- Update minimum support for Testbench Core v6.53.1+. (v6.53.0...v6.53.1)
- Prevent seeder from being executed when
shouldSeed()
exists and returnfalse
.
Released: 2024-09-23
- Update minimum support for Testbench Core v6.53.0+. (v6.52.0...v6.53.0)
- Added
markTestSkippedWhen()
andmarkTestSkippedUnless()
assertion helper to conditionally handlemarkTestSkipped()
. - Added
Orchestra\Testbench\default_migration_path()
helper function. - Added
Orchestra\Testbench\laravel_vendor_exists()
helper function.
- Allow Testbench to delete
vendor
symlink directory if it was created while running tests.
- Fixes
view.paths
configuration not being updated to includeworkbench/resources/views
due to IoC booting sequence.
- Deprecated
Orchestra\Testbench\laravel_migration_path()
, usedefault_migration_path()
instead.
Released: 2024-08-26
- Update minimum support for Testbench Core v6.52.0+. (v6.51.2...v6.52.0)
- Added
artisan
binary to Laravel skeleton. - Added
Orchestra\Testbench\join_paths()
function.
- 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.
Released: 2024-07-13
- Update minimum support for Testbench Core v6.51.2+. (v6.51.0...v6.51.2)
- Code Improvements.
- Fixes
InteractsWithPublishedFiles
should only flush published files withindatabase/migrations
directory.
Released: 2024-07-13
- Update minimum support for Testbench Core v6.51.0+. (v6.50.2...v6.51.0)
- 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
.
- 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
Released: 2024-06-04
- Update minimum support for Testbench Core v6.50.2+. (v6.50.1...v6.50.2)
- Fixes
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()
usage to detectWorkbench\App\Exceptions\Handler
class.
Released: 2024-06-01
- Update minimum support for Testbench Core v6.50.1+. (v6.50.0...v6.50.1)
- Fixes
Orchestra\Testbench\Attributes\RequiresLaravel
attribute usage.
Released: 2024-05-21
- Update minimum support for Testbench Core v6.50.0+. (v6.49.6...v6.50.0)
- Uses
TESTBENCH_WORKING_PATH
from environment variable before fallback togetcwd()
. - PHPStan Improvements.
- Backport fixes to routing registration using macro with Workbench.
Released: 2024-04-16
- Update minimum support for Testbench Core v6.49.6+. (v6.49.5...v6.49.6)
- Flush Static Improvements.
- Allows
Orchestra\Testbench\remote
to accept$env
with eitherarray
orstring
.
Released: 2024-03-25
- Update minimum support for Testbench Core v6.49.5+. (v6.49.4...v6.49.5)
- Fixes
RefreshDatabase
to be executed ontearDown()
only limited when ad-hoc migrations was added during test.
Released: 2024-03-19
- Update minimum support for Testbench Core v6.49.4+. (v6.49.0...v6.49.4)
- Fixes
beforeApplicationDestroyed()
usage onloadLaravelMigrations()
method. - Fixes
RefreshDatabase
usage does not reset the database migrations between tests. - Check against
RefreshDatabaseState::$migrated
before loading migration paths to the instance ofmigrator
. - Fixes
class_implements(): Class AllowDynamicProperties does not exist and could not be loaded
error on PHP 8.1 and lower.
Released: 2024-03-13
- Update minimum support for Testbench Core v6.49.0+. (v6.47.1...v6.49.0)
- Added
Orchestra\Testbench\Attributes\RequiresLaravel
attribute. - Added
Orchestra\Testbench\Foundation\Env::has()
method. - Added
Orchestra\Testbench\load_migration_paths()
function. - Added
Orchestra\Testbench\laravel_version_compare()
function. - Added
Orchestra\Testbench\phpunit_version_compare()
function. - Added
Orchestra\Testbench\once()
function.
- Validate
MYSQL_*
,MSSQL_*
,SQLITE_*
andPOSTGRES_*
environment variables before trying to override the configuration values.
Released: 2024-01-22
- Update minimum support for Testbench Core v6.47.1+. (v6.47.0...v6.47.1)
- Support nested configuration files.
- Fixes issue with Livewire testing where calling
$router->getRoutes()->refreshActionLookups()
caused tests to fail.
Released: 2024-01-19
- Update minimum support for Testbench Core v6.47.0+. (v6.45.0...v6.47.0)
- Added
Orchestra\Testbench\Features\TestingFeature
as replacement toHandlesTestingFeature
trait. - Added
Orchestra\Testbench\Attributes\WithImmutableDates
attribute to forceIlluminate\Support\Date
to useCarbon\CarbonImmutable
. - Added following helper functions:
Orchestra\Testbench\default_skeleton_path
Orchestra\Testbench\refresh_router_lookups
- Deprecate
Orchestra\Testbench\Concerns\HandlesTestingFeature
trait.
Released: 2023-12-19
- Update minimum support for Testbench Core v6.45.0+. (v6.44.0...v6.45.0)
- 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
.
Released: 2023-12-06
- Update minimum support for Testbench Core v6.44.0+. (v6.43.0...v6.44.0)
- Supports Workbench
discovers.components
configuration.
- Sync
view.paths
configuration when Workbench discover views.
Released: 2023-12-04
- Update minimum support for Testbench Core v6.43.0+. (v6.42.0...v6.43.0)
- Added
Orchestra\Testbench\Attributes\ResetRefreshDatabaseState
attribute to force refreshing database before executing the test. - Added
Orchestra\Testbench\Foundation\Bootstrap\SyncDatabaseEnvironmentVariables
bootstrap class and allow database collation to be configurable via environment variables usingMYSQL_COLLATION
,POSTGRES_COLLATION
andMSSQL_COLLATION
.
- Refactor handling attributes:
- Add ability to handle actions directly from the attribute.
- Add ability to set
defer
when usingOrchestra\Testbench\Attributes\DefineDatabase
.
- Deprecate
Orchestra\Testbench\Concerns\Database\HandlesConnections
trait.
Released: 2023-11-10
- Update minimum support for Testbench Core v6.42.0+. (v6.41.0...v6.42.0)
- Added new PHPUnit Attribute to run the default
laravel
,cache
,notifications
,queue
andsession
database migrations usingOrchestra\Testbench\Attributes\WithMigration
. - Added
Orchestra\Testbench\Bootstrap\ConfigureRay
class. - Added
Orchestra\Testbench\defined_environment_variables()
function. - Added
Orchestra\Testbench\laravel_migration_path()
function. - Added
Orchestra\Testbench\remote()
function.
- Mark the following classes as
@api
:Orchestra\Testbench\Foundation\Application
Orchestra\Testbench\Foundation\Config
Orchestra\Testbench\Foundation\Env
- Cache results from
Orchestra\Testbench\PHPUnit\AttributeParser
.
Released: 2023-10-24
- Update minimum support for Testbench Core v6.41.0+. (v6.40.0...v6.41.0)
- Added
Orchestra\Testbench\Workbench\Workbench
to handle integrations with Workbench. - Added
Orchestra\Testbench\Foundation\Config::getWorkbenchDiscoversAttributes()
method. - Added
Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile
trait. - Added support for PHPUnit Attribute as replacements to Annotations:
@define-env
and@environment-setup
will be replaced withOrchestra\Testbench\Attributes\DefineEnvironment
.@define-db
will be replaced withOrchestra\Testbench\Attributes\DefineDatabase
.@define-route
will be replaced withOrchestra\Testbench\Attributes\DefineRoute
.
- Fixes generating path using
Orchestra\Testbench\package_path()
andOrchestra\Testbench\workbench_path()
.
- Deprecate
Orchestra\Testbench\Concerns\WithFactories
.
- Remove
Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench
, useOrchestra\Testbench\Workbench\Workbench::start()
instead.
Released: 2023-10-09
- Update minimum support for Testbench Core v6.40.0+. (v6.39.0...v6.40.0)
- Code refactors.
- Mark
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables
class as@internal
.
Released: 2023-09-25
- Update minimum support for Testbench Core v6.39.0+. (v6.38.0...v6.39.0)
- Added
cachedConfigurationForWorkbench()
toOrchestra\Testbench\Concern\InteractsWithWorkbench
trait. - Add the ability to read
TESTBENCH_WORKING_PATH
from environment variables for Testbench Dusk usage. - Supports Workbench
discovers
configuration. - Add the ability to properly forward Environment Variables.
- Add
usesSqliteInMemoryDatabaseConnection
toOrchestra\Testbench\Concerns\HandlesDatabases
trait.
Released: 2023-08-29
- Update minimum support for Testbench Core v6.38.0+. (v6.37.1...v6.38.0)
- Add ability to automatically run default Laravel migrations using
Orchestra\Testbench\Concerns\WithLaravelMigrations
.
Released: 2023-08-22
- Update minimum support for Testbench Core v6.37.1+. (v6.37.0...v6.37.1)
- Fixes missing import for
Orchestra\Testbench\after_resolving
helper function.
Released: 2023-08-22
- Update minimum support for Testbench Core v6.37.0+. (v6.36.0...v6.37.0)
- Added
Orchestra\Testbench\after_resolving
helper function.
- Allow using
$model
property override when extendingOrchestra\Testbench\Factories\UserFactory
.
Released: 2023-08-19
- Update minimum support for Testbench Core v6.36.0+. (v6.35.1...v6.36.0)
- Added new
workbench.welcome
configuration option.
- Allow
testbench.yaml
configuration fallback similar to.env
.
Released: 2023-08-17
- Update minimum support for Testbench Core v6.35.1+. (v6.35.0...v6.35.1)
- Fixes configuration leak when running some TestCase without
Orchestra\Testbench\Concerns\WithWorkbench
.
Released: 2023-08-15
- Update minimum support for Testbench Core v6.35.0+. (v6.34.0...v6.35.0)
- Added
Orchestra\Testbench\package_path()
function.
- Rename
Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench
toOrchestra\Testbench\Foundation\Bootstrap\StartWorkbench
.
- Fixes
boolean
usage withOrchestra\Testbench\parse_environment_variables()
function.
- Remove experimental Workbench support.
Released: 2023-08-12
- Update minimum support for Testbench Core v6.34.0+. (v6.33.2...v6.34.0)
- Change
HandlesRoutes
loading sequence to match common Laravel bootstrap steps. - Refactor
HandlesAnnotations
andInteractsWithPHPUnit
traits. - Workbench integration improvements.
- Update
workbench
configuration schema.
- Fixes
Illuminate\Foundation\Application::runningUnitTests()
detection.
Released: 2023-08-10
- Update minimum support for Testbench Core v6.33.2+. (v6.33.1...v6.33.2)
- Fixes
app()->environment()
detection when creating applicationOrchestra\Testbench\Concerns\CreatesApplication
outside ofPHPUnit
.
Released: 2023-08-09
- Update minimum support for Testbench Core v6.33.1+. (v6.33.0...v6.33.1)
- Add new
Orchestra\Testbench\Concerns\InteractsWithPHPUnit
to handleCreatesApplication
within PHPUnit.
- Fixes
workbench.start
path when accessing the/
route return 404. - Only Configure
TESTBENCH_APP_BASE_PATH
environment variable only when running under tests.
Released: 2023-08-08
- Update minimum support for Testbench Core v6.33.0+. (v6.32.0...v6.33.0)
- Added new Workbench support (experimental feature).
- Register routes under
/_workbench
prefix. - Automatically run configured seeds when executing
migrate:fresh
andmigrate:refresh
- Bind
Orchestra\Testbench\Contracts\Config
to IoC Container and introduce the newOrchestra\Testbench\workbench
andOrchestra\Testbench\workbench_path
helper function.
- Register routes under
- Add PHPStan analysis.
- Add new
Orchestra\Testbench\Concerns\WithWorkbench
to automatically loads configuration fromtestbench.yaml
when running tests.
Released: 2023-06-13
- Update minimum support for Testbench Core v6.32.0+. (v6.31.1...v6.32.0)
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables
to manage loading.env
file during tests, backport from Testbench Core 8 releases.
- Automate registering
tearDownInteractsWithPublishedFiles()
fromsetUpInteractsWithPublishedFiles()
method.
Released: 2023-04-03
- Update minimum support for Testbench Core v6.31.1+. (v6.31.0...v6.31.1)
- Fixes
Orchestra\Testbench\Foundation\Config::addProviders()
usage. - Fixes
Orchestra\Testbench\transform_relative_path()
logic.
Released: 2023-04-01
- Update minimum support for Testbench Core v6.31.0+. (v6.30.0...v6.31.0)
- Added
Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray
class to handle loading migrations fromtestbench.yaml
.- You can now disable loading default migrations using either
migrations: false
intestbench.yaml
or addingTESTBENCH_WITHOUT_DEFAULT_MIGRATIONS=(true)
environment variable.
- You can now disable loading default migrations using either
- Added additional configuration options to
testbench.yaml
:migrations: <bool|array>
bootstrappers: <array>
- Added
Orchestra\Testbench\parse_environment_variables()
function. - Added
Orchestra\Testbench\transform_relative_path()
function.
env
configuration fromtestbench.yaml
with have higher priority thandefault_environment_variables()
.- Disable
Dotenv\Repository\Adapter\PutenvAdapter
when generating environment variable on the fly usingOrchestra\Testbench\Foundation\Application
.
- Fixes console output when an exception is thrown before application can be bootstrapped.
- Fixes some configuration value leaks between tests due to the way it set environment values including
APP_KEY
,APP_DEBUG
etc.
Released: 2023-03-27
- Update minimum support for Testbench Core v6.30.0+. (v6.29.1...v6.30.0)
- Added
Orchestra\Testbench\Foundation\Config
to read Yaml file fromtestbench.yaml
. - Added
Orchestra\Testbench\Foundation\Application::createVendorSymlink()
method.- The feature uses
Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink
.
- The feature uses
- Added
resolveApplicationEnvironmentVariables()
method. - Add supports for
setup<Concern>
andteardown<Concern>
with imported traits.
- Bump minimum laravel/framework to
8.83.26
. - Improves PHPUnit memory leaks.
- Refactor the following classes to match Testbench 7:
Orchestra\Testbench\Concerns\HandlesRoutes
Orchestra\Testbench\Console\Commander
Orchestra\Testbench\Foundation\Application
Warning: Breaking change is possible if your package contains any traits with
setup<TraitClassName>
orteardown<TraitClassName>
This version now will automatically run those methods during application bootstrap and terminate to be consistent with Laravel Framework implementations.
Released: 2022-10-11
- Update minimum support for Testbench Core v6.29.1+. (v6.29.0...v6.29.1)
- Remove
bootstrap/cache/packages.php
on vendor symlink event.
Released: 2022-08-24
- Update minimum support for Testbench Core v6.29.0+. (v6.28.1...v6.29.0)
- Added
loadLaravelMigrationsWithoutRollback()
andrunLaravelMigrationsWithoutRollback()
helpers.
Released: 2022-02-08
- Update minimum support for Testbench Core v6.28.1+. (v6.28.0...v6.28.1)
- Update skeleton to match v8.6.11.
Released: 2022-01-13
- Update minimum support for Testbench Core v6.28.0+. (v6.27.4...v6.28.0)
- Allow package discoveries by adding
$enablesPacakgeDiscoveries = true
property. - Allow to run
defineCacheRoute()
before application is ready. - Support defining custom
$basePath
when usingOrchestra\Testbench\container
function.
Released: 2021-12-23
- Update minimum support for Testbench Core v6.27.4+. (v6.27.3...v6.27.4)
- Update skeleton to match v8.6.10.
Released: 2021-12-04
- Update minimum support for Testbench Core v6.27.3+. (v6.27.0...v6.27.3)
- Improves docblock.
- Update skeleton to match v8.6.8.
Released: 2021-11-10
- Update minimum support for Testbench Core v6.27.0+. (v6.26.0...v6.27.0)
- Add ability to define database migrations using
TestCase::defineDatabaseMigrationsAfterDatabaseRefreshed()
method, the method will only be executed viaIlluminate\Database\Events\DatabaseRefreshed
event. - Add ability to destroy database migrations using
TestCase::destroyDatabaseMigrations()
.
Released: 2021-10-21
- Update minimum support for Testbench Core v6.26.0+. (v6.25.2...v6.26.0)
- Added draft support for PHP 8.1.
- Added
Orchestra\Testbench\container()
function to easily create an application instance.
- Update skeleton to match v8.6.4.
- Improves docblock.
Released: 2021-09-18
- Update minimum support for Testbench Core v6.25.2+. (v6.25.0...v6.25.2)
- Ability to use
App\Http\Kernel
andApp\Console\Kernel
via Commander if the class exists.
Released: 2021-09-08
- Update minimum support for Testbench Core v6.25.0+. (v6.24.1...v6.25.0)
- Add ability to define database seeder using
TestCase::defineDatabaseSeeders()
method.
- Update skeleton to match v8.6.2.
Released: 2021-08-25
- Update minimum support for Testbench Core v6.24.1+. (v6.24.0...v6.24.1)
- Update skeleton to match v8.6.1.
Released: 2021-08-12
- Update minimum support for Testbench Core v6.24.0+. (v6.23.0...v6.24.0)
- Bump minimum
laravel/framework
to8.54
. - Update skeleton to match v8.5.24.
Released: 2021-07-01
- Update minimum support for Testbench Core v6.23.0+. (v6.22.0...v6.23.0)
- Improves generating cached routes during testing.
- Allows to loads
.env
when usingOrchestra\Testbench\Foundation\Application
. - Update skeleton.
Released: 2021-05-25
- Update minimum support for Testbench Core v6.22.0+. (v6.21.3...v6.22.0)
- Added
Orchestra\Testbench\Foundation\Application
to allow creating remote application using Testbench. - Added static public method
Orchestra\Testbench\Concerns\CreatesApplication::applicationBasePath()
to replacegetBasePath()
.
- Update skeleton.
Released: 2021-05-19
- Update minimum support for Testbench Core v6.21.3+. (v6.21.0...v6.21.3)
- Update skeleton to match v8.5.18.
- Check whether skeleton
vendor
is an actual directory before trying to symlink with base directoryvendor
.
- Fixes missing
PHPUnit\Util\Test::parseTestMethodAnnotations()
on PHPUnit 10.
Released: 2021-04-06
- Update minimum support for Testbench Core v6.21.0+. (v6.20.0...v6.21.0)
- Added capability to fetch package discovery from root project.
- Added database-specific environment variables based on ChipperCI.
- Allow configuration to be loaded from
Application::basePath()
instead of hardcoded value.
Released: 2021-03-31
- Update minimum support for Testbench Core v6.20.0+. (v6.19.0...v6.20.0)
- Added ability to run multiple database by adding database specific environment variable. E.g:
MYSQL_HOST
,POSTGRES_HOST
andMSSQL_HOST
instead of justDB_HOST
.
- Use
getcwd()
instead of relative path when setting upTESTBENCH_WORKING_PATH
when executing it viabootstrap/app.php
. - Accept
APP_BASE_PATH
environment variable to configuregetBasePath()
.
Released: 2021-03-21
- Update minimum support for Testbench Core v6.19.0+. (v6.18.0...v6.19.0)
- Added
TESTBENCH_WORKING_DIRECTORY
constant.
- Remove package discovery for
Orchestra\Testbench\Foundation\TestbenchServiceProvider
, the service provider will only be registered from CLI Commander.
Released: 2021-03-16
- Update minimum support for Testbench Core v6.18.0+. (v6.16.0...v6.18.0)
- Bump
spatie/laravel-ray
to v1.17.1+.
- Added support for PHPUnit 10.
- Update Laravel skeleton.
- Add
Date
aliases. - Update
logging
configuration. - Update
validation
language file.
- Add
Released: 2021-02-21
- Update minimum support for Testbench Core v6.16.0+. (v6.15.2...v6.16.0)
- Flush
Queue::createPayloadUsing()
onOrchestra\Testbench\TestCase::tearDown()
.
Released: 2021-02-13
- Update minimum support for Testbench Core v6.15.2+. (v6.15.1...v6.15.2)
- Always attempt to delete
laravel/vendor
symlink folder.
Released: 2021-02-09
- Update minimum support for Testbench Core v6.15.1+. (v6.13.0...v6.15.1)
- Add
defineWebRoutes()
to automatically define routes underweb
middleware.
Released: 2021-01-30
- Update minimum support for Testbench Core v6.13.0+. (v6.12.0...v6.13.0)
- Added
dont-discover
configuration totestbench.yaml
.
Released: 2021-01-29
- Update minimum support for Testbench Core v6.12.0+. (v6.11.1...v6.12.0)
- Added support for Laravel 8 parallel testing:
- Added
package:test
command. - Added
Orchestra\Testbench\Foundation\TestbenchServiceProvider
class.
- Added
Released: 2021-01-18
- Update minimum support for Testbench Core v6.11.1+. (v6.10.0...v6.11.1)
- Improves support for Package Discovery support on test environment and also
testbench
command.
- Fixes tests example.
Released: 2021-01-17
- Update minimum support for Laravel Framework v8.22.1+. (v8.18.1...v8.22.1)
- Update minimum support for Testbench Core v6.10.0+. (v6.9.2...v6.10.0)
- Added
ignorePackageDiscoveriesFrom()
method toOrchestra\Testbench\Concerns\CreatesApplication
trait to allow enable package discoveries during tests. Orchestra\Testbench\Console\Commander
will automatically discover packages.
Released: 2020-12-30
- Update minimum support for Testbench Core v6.9.2+. (v6.9.1...v6.9.2)
Released: 2020-12-28
- Update minimum support for Laravel Framework v8.18.1+. (v8.0.0...v8.18.1)
Released: 2020-12-15
- Update minimum support for Testbench Core v6.9.1+. (v6.8.0...v6.9.1)
- Bump
mockery/mockery
tov1.3.2
and above. - Opt to use
method_exists()
to detect support forparseTestMethodAnnotations()
underHandlesDatabases
andHandlesRoutes
trait. - Update
Orchestra\Testbench\Bootstrap\LoadConfiguration::getConfigurationFiles()
to returnGenerator
instead of array.
Released: 2020-12-09
- Update minimum support for Testbench Core v6.8.0+. (v6.7.0...v6.8.0)
- Added following traits:
Orchestra\Testbench\Concerns\HandlesAnnotations
.Orchestra\Testbench\Concerns\HandlesDatabases
.Orchestra\Testbench\Concerns\HandlesRoutes
.
- Added
defineRoutes()
anddefineCacheRoutes()
to group dedicated tests routing.
Released: 2020-12-01
- Update minimum support for Testbench Core v6.7.0+. (v6.6.0...v6.7.0)
- Added
defineEnvironment()
anddefineDatabaseMigrations()
method toOrchestra\Testbench\TestCase
.defineEnvironment()
usage is identical togetEnvironmentSetUp()
but the original function will remain functioning for now.- Use
defineDatabaseMigrations()
to load any database migrations for the tests. This will allows Testbench to loads it early on the test cycle before to avoid it being clashing usage withDatabaseTransactions
trait.
- Add support to read environment variable from
.env
on skeleton when it's available when used withtestbench
bin command.
- Update Laravel skeleton.
- Remove
filesystems.cloud
configuration.
- Remove
Released: 2020-11-07
- Update minimum support for Testbench Core v6.6.0+. (v6.5.0...v6.6.0)
Released: 2020-10-28
- Update minimum support for Testbench Core v6.5.0+. (v6.2.0...v6.5.0)
- Added support for PHP 8.
- Replace
fzaninotto/faker
withfakerphp/faker
.
Released: 2020-09-28
- Update minimum support for Testbench Core v6.2.0+. (v6.1.0...v6.2.0)
Released: 2020-09-24
Added experimental support for running artisan commands outside of Laravel. e.g:
./vendor/bin/testbench migrate
This would allows you to setup the testing environment before running phpunit
instead of executing everything from within TestCase::setUp()
.
- Update minimum support for Testbench Core v6.1.0+. (v6.0.0...v6.1.0)
Released: 2020-09-08
- Added
Orchestra\Testbench\Factories\UserFactory
to handleIlluminate\Foundation\Auth\User
model. - Automatically autoloads
Illuminate\Database\Eloquent\LegacyFactoryServiceProvider
if the service provider exists.
- Update support for Laravel Framework v8.
- Increase minimum PHP version to 7.3 and above (tested with 7.3 and 7.4).
- Configuration changes:
- Changed
auth.providers.users.model
toIlluminate\Foundation\Auth\User
. - Changed
queue.failed.driver
todatabase-uuid
.
- Changed