-
Notifications
You must be signed in to change notification settings - Fork 10
Update dependency orchestra/testbench to v7.55.0 #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/orchestra-testbench-7.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0f9ea57
to
9de4f5a
Compare
9de4f5a
to
ee37bc6
Compare
ee37bc6
to
142f9a9
Compare
142f9a9
to
ddadde0
Compare
ddadde0
to
476fcaa
Compare
476fcaa
to
0dad080
Compare
0dad080
to
2d652af
Compare
2d652af
to
68d2463
Compare
7f22248
to
77abcad
Compare
77abcad
to
1f10795
Compare
1f10795
to
d23c8d9
Compare
3640679
to
1e3f8e7
Compare
1e3f8e7
to
04c16de
Compare
04c16de
to
56df4c5
Compare
56df4c5
to
ea7ad20
Compare
ea7ad20
to
88611a6
Compare
88611a6
to
271d57a
Compare
271d57a
to
a080a5c
Compare
a080a5c
to
3643b17
Compare
3643b17
to
7ca268d
Compare
7ca268d
to
f961928
Compare
f961928
to
ab56fdf
Compare
ab56fdf
to
cc80a89
Compare
cc80a89
to
82edbe7
Compare
82edbe7
to
18f7e7e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.17.0
->7.55.0
Release Notes
orchestral/testbench (orchestra/testbench)
v7.55.0
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\PHPUnit\TestCase
now implementsOrchestra\Testbench\Concerns\InteractsWithMockery
.v7.54.0
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\remote()
function to useOrchestra\Testbench\Foundation\Process\RemoteCommand
.TESTBENCH_ENVIRONMENT_FILE_USING
toTESTBENCH_ENVIRONMENT_FILE_USING
(internal environment variable).workbench/bootstrap/providers.php
.v7.53.0
Compare Source
Changes
Testbench Changes
Added
resolvePhpUnitTestClassName()
andresolvePhpUnitTestMethodName()
toOrchestra\Testbench\Concerns\InteractsWithPHPUnit
trait.Changes
usesTestingFeature()
to register attribute directly on test method.vendor
detection on the default skeleton.Orchestra\Sidekick\is_symlink()
function instead ofis_link()
to improves support on Windows.::class
instead ofget_class()
.vendor
symlink viapackage:purge-skeleton
command.Fixes
Orchestra\Testbench\Attributes\UsesVendor::beforeEach()
method.v7.52.0
Compare Source
Changes
Testbench Changes
Added
orchestra/sidekick
.Illuminate\Foundation\Testing\Concerns\InteractsWithViews
.Deprecated
getBasePath()
method pending removal in Testbench 10.0.v7.51.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\CreatesApplication::resolveApplicationFacades()
method.Orchestra\Testbench\Concerns\CreatesApplication::getApplicationBasePath()
method as replacement toOrchestra\Testbench\Concerns\CreatesApplication::getBasePath()
.Orchestra\Testbench\Foundation\Application::deleteVendorSymlink()
method.Changes
discover.factories
.vendor
symlink when terminating Testbench CLI.v7.50.0
Compare Source
Changes
Testbench Changes
Added
Changes
Orchestra\Testbench\Workbench\Workbench::flushCachedClassAndNamespaces()
to flush cached namespaces and classes during installation.realpath()
onvendor:publish
output.v7.49.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\transform_realpath_to_relative()
function.vendor:publish
command.Changes
$force
parameter toOrchestra\Testbench\Workbench\Workbench::detectNamespace()
method.v7.48.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Workbench\Workbench::detectNamespace()
method.Orchestra\Testbench\Workbench\Workbench::applicationUserModel()
method.workbench.auth
config totrue
.package:sync-skeleton
command.Changes
Orchestra\Testbench\Bootstrap\LoadConfiguration
andOrchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbench
to allow being extended by Testbench Dusk.Orchestra\Testbench\Console\Commander
.$tty
parameter toOrchestra\Testbench\remote()
function.Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink
class and mark it as@api
.$backupExistingFile
and$resetOnTerminating
parameter to following methods inOrchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFiles
trait:copyTestbenchConfigurationFile()
copyTestbenchDotEnvFile()
Deprecated
Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsole
trait, useOrchestra\Testbench\Foundation\Console\TerminatingConsole
class instead.v7.47.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlink
class.Orchestra\Testbench\Concerns\InteractsWithMockery
trait.--database
option topackage:create-sqlite-db
command.--database
and--all
options topackage:drop-sqlite-db
command.Orchestra\Testbench\php_binary()
function.Changes
resolveApplicationResolvingCallback()
method visibility fromprivate
toprotected
.package:create-sqlite-db
.PHP_CLI_SERVER_WORKERS
via Composer Script.CTRL+C
andCTRL+BREAK
supports on Windows withoutpcntl
extension.Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
should be able to handle$from
and$to
when given asfalse
ornull
.v7.46.2
Compare Source
Changes
Testbench Changes
Fixes
shouldSeed()
exists and returnfalse
.v7.46.1
Compare Source
Changes
Testbench Changes
Changes
SIGHUP
,SIGUSR1
, andSIGUSR2
signals via Testbench CLI.Fixes
serve
command to reset published.env
andtestbench.yaml
.v7.46.0
Compare Source
Changes
Testbench Changes
Added
markTestSkippedWhen()
andmarkTestSkippedUnless()
assertion helper to conditionally handlemarkTestSkipped()
.Orchestra\Testbench\default_migration_path()
helper function.Orchestra\Testbench\laravel_vendor_exists()
helper function.Changes
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.New Contributors
v7.45.0
Compare Source
Changes
Testbench Changes
Added
artisan
binary to Laravel skeleton.Orchestra\Testbench\join_paths()
function.Orchestra\Testbench\Attributes\UsesVendor
attribute class.defineStashRoutes()
method to register adhoc route for test.Changes
afterApplicationCreated()
,afterApplicationRefreshed()
, andbeforeApplicationDestroyed()
methods visibility fromprotected
topublic
.Orchestra\Testbench\default_skeleton_path()
,Orchestra\Testbench\package_path()
, andOrchestra\Testbench\workbench_path()
usage based on newOrchestra\Testbench\join_paths()
function.v7.44.0
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
to remove.gitkeep
file when directory contain one or more files.Fixes
InteractsWithPublishedFiles
should only flush published files withindatabase/migrations
directory.v7.43.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\ResolvesLaravel
Orchestra\Testbench\Attributes\UsesFrameworkConfiguration
factories
using Workbench to mapWorkbench\App\Models
toWorkbench\Database\Factories
classes.workbench/app/Console/Commands
.Changes
JsonSerializable
toOrchestra\Testbench\Foundation\UndefinedValue
.workbench
as default environment value.Orchestra\Testbench\Attributes\Define
andOrchestra\Testbench\Attributes\DefineEnvironment
to be used on the class level by @danjohnson95Fixes
usesTestingFeature()
attribute registration is loaded before class attributes instead of method attributes.v7.42.2
Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()
usage to detectWorkbench\App\Exceptions\Handler
class.v7.42.1
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\package_path()
function instead ofTESTBENCH_WORKING_PATH
constant.Fixes
Orchestra\Testbench\Attributes\RequiresLaravel
attribute usage.v7.42.0
Compare Source
Changes
Testbench Changes
Changes
TESTBENCH_WORKING_PATH
from environment variable before fallback togetcwd()
.Fixes
v7.41.3
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\remote
to accept$env
with eitherarray
orstring
.TESTBENCH_PACKAGE_REMOTE=true
when running command usingOrchestra\Testbench\remote
.v7.41.2
Compare Source
Changes
Testbench Changes
Fixes
RefreshDatabase
to be executed ontearDown()
only limited when ad-hoc migrations was added during test.v7.41.1
Compare Source
Changes
Testbench Changes
Changes
ResetRefreshDatabaseState
viatearDownTheTestEnvironmentUsingTestCase()
method.RefreshDatabaseState::$migrated
andRefreshDatabaseState::$lazilyRefreshed
before loading migration paths to the instance ofmigrator
.Fixes
beforeApplicationDestroyed()
usage onloadLaravelMigrations()
method.RefreshDatabase
usage does not reset the database migrations between tests.class_implements(): Class AllowDynamicProperties does not exist and could not be loaded
error on PHP 8.1 and lower.v7.41.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\RequiresLaravel
attribute.Orchestra\Testbench\Foundation\Env::has()
method.Orchestra\Testbench\once()
function.Orchestra\Testbench\load_migration_paths()
function.usesRefreshDatabaseTestingConcern()
helper method toOrchestra\Testbench\Concerns\InteractsWithTestCase
trait.Changes
MYSQL_*
,MSSQL_*
,SQLITE_*
andPOSTGRES_*
environment variables before trying to override the configuration values.$command
toOrchestra\Testbench\remote()
function usingarray
instead of juststring
.Fixes
Orchestra\Testbench\Attributes\ResetRefreshDatabaseState
attribute declaration to onlyAttribute::TARGET_CLASS
.v7.40.1
Compare Source
Changes
Testbench Changes
Changes
Fixes
$router->getRoutes()->refreshActionLookups()
caused tests to fail.v7.40.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\WithImmutableDates
attribute to forceIlluminate\Support\Date
to useCarbon\CarbonImmutable
.Orchestra\Testbench\default_skeleton_path
Orchestra\Testbench\refresh_router_lookups
v7.39.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Features\TestingFeature
as replacement toHandlesTestingFeature
trait.LOG_DEPRECATIONS_WHILE_TESTING
(default totrue
) environment variables.Orchestra\Testbench\Contracts\Attributes\AfterAll
Orchestra\Testbench\Contracts\Attributes\AfterEach
Orchestra\Testbench\Contracts\Attributes\BeforeAll
Orchestra\Testbench\Contracts\Attributes\BeforeEach
Changes
Orchestra\Testbench\Concerns\InteractsWithPHPUnit
.Deprecated
Orchestra\Testbench\Concerns\HandlesTestingFeature
trait.v7.38.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\RequiresEnv
attribute to force an environment variables to be required for the test.Orchestra\Testbench\Attributes\WithConfig
attribute add a configuration value for the test.Orchestra\Testbench\Attributes\WithEnv
attribute add an environment variable value for the test.set()
andforget()
methods toOrchestra\Testbench\Foundation\Env
.v7.37.0
Compare Source
Changes
Testbench Changes
Added
discovers.components
configuration.Changes
view.paths
configuration when Workbench discover views.v7.36.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\ResetRefreshDatabaseState
attribute to force refreshing database before executing the test.Orchestra\Testbench\Foundation\Bootstrap\SyncDatabaseEnvironmentVariables
bootstrap class and allow database collation to be configurable via environment variables usingMYSQL_COLLATION
,POSTGRES_COLLATION
andMSSQL_COLLATION
.Changes
defer
when usingOrchestra\Testbench\Attributes\DefineDatabase
.Deprecated
Orchestra\Testbench\Concerns\Database\HandlesConnections
trait.v7.35.0
Compare Source
Changes
Testbench Changes
Added
laravel
,cache
,notifications
,queue
andsession
database migrations usingOrchestra\Testbench\Attributes\WithMigration
.Orchestra\Testbench\defined_environment_variables()
function.Orchestra\Testbench\laravel_migration_path()
function.Orchestra\Testbench\remote()
function.Changes
@api
:Orchestra\Testbench\Foundation\Application
Orchestra\Testbench\Foundation\Config
Orchestra\Testbench\Foundation\Env
Orchestra\Testbench\PHPUnit\AttributeParser
.v7.34.1
Compare Source
Changes
v7.34.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Workbench\Workbench
to handle integrations with Workbench.Orchestra\Testbench\Foundation\Config::getWorkbenchDiscoversAttributes()
method.Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile
trait.Orchestra\Testbench\Foundation\Application
:make()
makeFromConfig()
createFromConfig()
@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
Orchestra\Testbench\package_path()
andOrchestra\Testbench\workbench_path()
.Deprecated
Orchestra\Testbench\Concerns\WithFactories
.Removed
Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench
, useOrchestra\Testbench\Workbench\Workbench::start()
orOrchestra\Testbench\Workbench\Workbench::startWithProviders()
instead.v7.33.0
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables
class as@internal
.v7.32.0
Compare Source
Changes
Testbench Changes
Added Added
cachedConfigurationForWorkbench()
toOrchestra\Testbench\Concern\InteractsWithWorkbench
trait.TESTBENCH_WORKING_PATH
from environment variables for Testbench Dusk usage.discovers
configuration.usesSqliteInMemoryDatabaseConnection
toOrchestra\Testbench\Concerns\HandlesDatabases
trait.v7.31.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait:assertMigrationFileExists
.assertMigrationFileNotExists
.Changes
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles::$files
property.assertMigrationFileContains
andassertMigrationFileNotContains
fromOrchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait.Orchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait:cleanUpFiles
tocleanUpPublishedFiles
.cleanUpMigrationFiles
tocleanUpPublishedMigrationFiles
.getMigrationFile
tofindFirstPublishedMigrationFile
.v7.30.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\WithLaravelMigrations
.Orchestra\Testbench\Foundation\Console\Actions\DeleteFiles
Orchestra\Testbench\Foundation\Console\Actions\DeleteDirectories
Orchestra\Testbench\Foundation\Console\Actions\EnsureDirectoryExists
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
v7.29.1
Compare Source
Changes
Testbench Changes
Changes
$model
property override when extendingOrchestra\Testbench\Factories\UserFactory
.v7.29.0
Compare Source
Changes
Testbench Changes
Added
workbench.welcome
configuration option.Changes
testbench.yaml
configuration fallback similar to.env
.Illuminate\Support\LazyCollection
.Orchestra\Workbench\WorkbenchServiceProvider
when applyingOrchestra\Testbench\Concerns\WithWorkbench
.v7.28.2
Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Concerns\WithWorkbench
.v7.28.1
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Console\DevToolCommand
for integration compatibility.Changes
serve
command under Composer's script.v7.28.0
Compare Source
Changes
Testbench Changes
Added
package:purge-skeleton
command.Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile
trait.Orchestra\Testbench\package_path()
function.orchestra/workbench
.Changes
Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench
toOrchestra\Testbench\Foundation\Bootstrap\StartWorkbench
.Fixes
serve
command usage.v7.27.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Events\ServeCommandStarted
Orchestra\Testbench\Foundation\Events\ServeCommandEnded
Orchestra\Testbench\Workbench\Events\WorkbenchInstallStarted
Orchestra\Testbench\Workbench\Events\WorkbenchInstallEnded
Changes
HandlesRoutes
loading sequence to match common Laravel bootstrap steps.HandlesAnnotations
andInteractsWithPHPUnit
traits.workbench
configuration schema.Fixes
Illuminate\Foundation\Application::runningUnitTests()
detection.v7.26.2
Compare Source
Changes
laravel/framework
to9.52.15
.Testbench Changes
Fixes
app()->environment()
detection when creating applicationOrchestra\Testbench\Concerns\CreatesApplication
outside ofPHPUnit
.Undefined array key "autoload-dev"
when executingworkbench:install
command.v7.26.1
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\InteractsWithPHPUnit
to handleCreatesApplication
within PHPUnit.Fixes
workbench.start
path when accessing the/
route return 404.TESTBENCH_APP_BASE_PATH
environment variable only when running under tests.v7.26.0
Compare Source
Changes
Testbench Changes
Added
/_workbench
prefix.migrate:fresh
andmigrate:refresh
Orchestra\Testbench\Contracts\Config
to IoC Container and introduce the newOrchestra\Testbench\workbench
andOrchestra\Testbench\workbench_path
helper function.workbench:install
,workbench:create-sqlite-db
andworkbench:drop-sqlite-db
commands.Orchestra\Testbench\Concerns\WithWorkbench
to automatically loads configuration fromtestbench.yaml
when running tests.Deprecated
package:devtool
,package:create-sqlite-db
andpackage:drop-sqlite-db
commands.v7.25.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables
to manage loading.env
file during tests, backport from Testbench Core 8 releases.Changes
laravel/framework
to9.52.9
.tearDownInteractsWithPublishedFiles()
fromsetUpInteractsWithPublishedFiles()
method.v7.24.1
Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Foundation\Config::addProviders()
usage.Orchestra\Testbench\transform_relative_path()
logic.v7.24.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray
class to handle loading migrations fromtestbench.yaml
.migrations: false
intestbench.yaml
or addingTESTBENCH_WITHOUT_DEFAULT_MIGRATIONS=(true)
environment variable.testbench.yaml
:migrations: <bool|array>
bootstrappers: <array>
Orchestra\Testbench\parse_environment_variables()
function.Orchestra\Testbench\transform_relative_path()
function.Changes
env
configuration fromtestbench.yaml
with have higher priority thandefault_environment_variables()
.Dotenv\Repository\Adapter\PutenvAdapter
when generating environment variable on the fly usingOrchestra\Testbench\Foundation\Application
.Fixes
APP_KEY
,APP_DEBUG
etc.v7.23.0
Compare Source
Changes
Testbench Changes
Added
setup<Concern>
andteardown<Concern>
with imported traits.v7.22.2
Compare Source
Changes
Testbench Changes
Fixes
spatie/laravel-ray
.v7.22.1
Compare Source
Changes
v7.22.0
Compare Source
Changes
Testbench Changes
Changes
package:test --parallel
command usage.$app->bootstrapPath()
instead of$app->basePath('bootstrap')
whenever possible.v7.21.0
Compare Source
Changes
Testbench Changes
Added
Illuminate\Foundation\Testing\DatabaseTruncation
.Changes
laravel/framework
to9.50.2
.v7.20.0
Compare Source
Changes
Testbench Changes
Changes
package:test
commands.v7.19.0
Compare Source
Changes
Testbench Changes
Added
Illuminate\Foundation\Testing\InteractsWithDeprecationHandling
toOrchestra\Testbench\TestCase
.v7.18.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\laravel_version_compare
function as alias toversion_compare
specifically for Laravel Framework.Orchestra\Testbench\phpunit_version_compare
function as alias toversion_compare
specifically for PHPUnit.Orchestra\Testbench\Exceptions\PHPUnitErrorException
class.Changes
Orchestra\Testbench\Bootstrap\ConfigureRay
class asfinal
.Orchestra\Testbench\Concerns\HandlesAnnotations
trait.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.