Update dependency orchestra/testbench to v10#18
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
Conversation
121d347 to
3703e03
Compare
33f8aad to
3eaf98f
Compare
3eaf98f to
6a3e032
Compare
6a3e032 to
b551db9
Compare
b551db9 to
1200978
Compare
1200978 to
36eb178
Compare
36eb178 to
3dfb188
Compare
3dfb188 to
f34bf88
Compare
f34bf88 to
a26c8bf
Compare
7660806 to
62cb08b
Compare
62cb08b to
14f25ec
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^5.0|^6.0|^7.0|^8.0→10.9.0Release Notes
orchestral/testbench (orchestra/testbench)
v10.9.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\package_version_compare()function.Orchestra\Testbench\Concerns\WithFixturesto automatically loads fixtures file for test.Changes
JsonResourceandJsonApiResourcestates.Orchestra\Sidekick\package_path()for better root package path detection.v10.8.0Compare Source
Changes
12.40.0.Testbench Changes
Changes
Orchestra\Testbench\Workbench\Actions\AddAssetSymlinkFoldersOrchestra\Testbench\Workbench\Actions\RemoveAssetSymlinkFoldersv10.7.0Compare Source
Changes
12.28.0.v10.6.0Compare Source
Changes
12.24.0.v10.5.0Compare Source
Changes
Testbench Changes
Changes
v10.4.0Compare Source
v10.3.0Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\PHPUnit\TestCasenow implementsOrchestra\Testbench\Concerns\InteractsWithMockery.Illuminate\Database\Eloquent\Model::automaticallyEagerLoadRelationships()state between tests if the method exists.Fixes
v10.2.2Compare Source
Changes
Testbench Changes
Changes
Illuminate\Database\Eloquent\Modelstates between tests.v10.2.1Compare Source
Changes
Testbench Changes
Changes
symfony/polyfill-php84.v10.2.0Compare Source
Changes
Testbench Changes
Added
ClosuretoOrchestra\Testbench\remote()function.Changes
Orchestra\Testbench\remote()function to useOrchestra\Testbench\Foundation\Process\RemoteCommand.TESTBENCH_ENVIRONMENT_FILE_USINGtoTESTBENCH_ENVIRONMENT_FILE_USING(internal environment variable).v10.1.0Compare Source
Changes
Testbench Changes
Added
resolvePhpUnitTestClassName()andresolvePhpUnitTestMethodName()toOrchestra\Testbench\Concerns\InteractsWithPHPUnittrait.Changes
usesTestingFeature()to register attribute directly on test method.vendordetection on the default skeleton.Orchestra\Sidekick\is_symlink()function instead ofis_link()to improves support on Windows.::classinstead ofget_class().vendorsymlink viapackage:purge-skeletoncommand.Fixes
Orchestra\Testbench\Attributes\UsesVendor::beforeEach()method.Deprecate
@environment-setup@define-env@define-database@define-routev10.0.0Compare Source
Changes
Orchestra\Testbench\TestCaseto useIlluminate\Foundation\Testing\Concerns\InteractsWithViewstrait.Removed
Orchestra\Testbench\once()Orchestra\Testbench\transform_relative_path()Orchestra\Testbench\Concerns\CreatesApplicationtrait:getBasePath()getDefaultApplicationBootstrapFile()Orchestra\Testbench\Concerns\InteractsWithMigrationstrait:loadMigrationsWithoutRollbackFrom()loadLaravelMigrationsWithoutRollback()runLaravelMigrationsWithoutRollback()v9.16.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\terminate()andOrchestra\Testbench\bail()function to allow usingexit()onpnctlenabled tests.Orchestra\Testbench\uses_default_skeleton()function.Illuminate\Validator\Validatorstate.Orchestra\Testbench\package_version_compare()function.Orchestra\Testbench\Concerns\WithFixturesto automatically loads fixtures file for test.Changes
Illuminate\Support\Strstates via during test teardown.Orchestra\Sidekick\package_path()for better root package path detection.v9.15.0Compare Source
Changes
Testbench Changes
Changes
journal_modeconfiguration.Collection::make()tonew Collection().v9.14.0Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\PHPUnit\TestCasenow implementsOrchestra\Testbench\Concerns\InteractsWithMockery.Fixes
v9.13.1Compare Source
Changes
Testbench Changes
Changes
Illuminate\Database\Eloquent\Modelstates between tests.v9.13.0Compare Source
Changes
Testbench Changes
Added
ClosuretoOrchestra\Testbench\remote()function.Changes
Orchestra\Testbench\remote()function to useOrchestra\Testbench\Foundation\Process\RemoteCommand.TESTBENCH_ENVIRONMENT_FILE_USINGtoTESTBENCH_ENVIRONMENT_FILE_USING(internal environment variable).v9.12.0Compare Source
Changes
Testbench Changes
Added
resolvePhpUnitTestClassName()andresolvePhpUnitTestMethodName()toOrchestra\Testbench\Concerns\InteractsWithPHPUnittrait.Changes
usesTestingFeature()to register attribute directly on test method.vendordetection on the default skeleton.Orchestra\Sidekick\is_symlink()function instead ofis_link()to improves support on Windows.::classinstead ofget_class().vendorsymlink viapackage:purge-skeletoncommand.Fixes
Orchestra\Testbench\Attributes\UsesVendor::beforeEach()method.Deprecate
@environment-setup@define-env@define-database@define-routev9.11.0Compare Source
Changes
Testbench Changes
Added
orchestra/sidekick.Illuminate\Foundation\Testing\Concerns\InteractsWithViews.Changes
Deprecated
getBasePath()method pending removal in Testbench 10.0.v9.10.0Compare 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.vendorsymlink when terminating Testbench CLI.config/database.phpskeleton file.v9.9.0Compare Source
Changes
Testbench Changes
Added
Changes
Orchestra\Testbench\Workbench\Workbench::flushCachedClassAndNamespaces()to flush cached namespaces and classes during installation.realpath()onvendor:publishoutput.v9.8.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\transform_realpath_to_relative()function.vendor:publishcommand.Changes
$forceparameter toOrchestra\Testbench\Workbench\Workbench::detectNamespace()method.v9.7.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Workbench\Workbench::detectNamespace()method.Orchestra\Testbench\Workbench\Workbench::applicationUserModel()method.workbench.authconfig totrue.package:sync-skeletoncommand.Changes
Orchestra\Testbench\Bootstrap\LoadConfigurationandOrchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbenchto allow being extended by Testbench Dusk.Orchestra\Testbench\Console\Commander.$ttyparameter toOrchestra\Testbench\remote()function.Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlinkclass and mark it as@api.$backupExistingFileand$resetOnTerminatingparameter to following methods inOrchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFilestrait:copyTestbenchConfigurationFile()copyTestbenchDotEnvFile()laravel/serializable-closurev2.Deprecated
Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsoletrait, useOrchestra\Testbench\Foundation\Console\TerminatingConsoleclass instead.v9.6.1Compare Source
Changes
Testbench Changes
Fixes
route:cachewhenhealth: trueconfigured usingtestbench.yaml.v9.6.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlinkclass.Orchestra\Testbench\Concerns\InteractsWithMockerytrait.--databaseoption topackage:create-sqlite-dbcommand.--databaseand--alloptions topackage:drop-sqlite-dbcommand.Orchestra\Testbench\php_binary()function.laravel/serializable-closure2.Changes
package:create-sqlite-db.PHP_CLI_SERVER_WORKERSvia Composer Script.CTRL+CandCTRL+BREAKsupports on Windows withoutpcntlextension.Orchestra\Testbench\Foundation\Console\Actions\GeneratesFileshould be able to handle$fromand$towhen given asfalseornull.Fixed
#[WithMigration('queue')]should load the default migrations.v9.5.2Compare Source
Changes
Testbench Changes
Fixes
shouldSeed()exists and returnfalse.v9.5.1Compare Source
Changes
Testbench Changes
Changes
SIGHUP,SIGUSR1, andSIGUSR2signals via Testbench CLI.config/concurrency.phpconfiguration file.Fixes
servecommand to reset published.envandtestbench.yaml.v9.5.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\RequiresDatabaseattribute class.markTestSkippedWhen()andmarkTestSkippedUnless()assertion helper to conditionally handlemarkTestSkipped().Orchestra\Testbench\default_migration_path()helper function.Orchestra\Testbench\laravel_vendor_exists()helper function.Changes
vendorsymlink directory if it was created while running tests.Fixes
view.pathsconfiguration not being updated to includeworkbench/resources/viewsdue to IoC booting sequence.Deprecated
Orchestra\Testbench\laravel_migration_path(), usedefault_migration_path()instead.New Contributors
v9.4.0Compare Source
Changes
Testbench Changes
Added
artisanbinary to Laravel skeleton.Orchestra\Testbench\join_paths()function.Orchestra\Testbench\Attributes\UsesVendorattribute class.defineStashRoutes()method to register adhoc route for test.Changes
Orchestra\Testbench\default_skeleton_path(),Orchestra\Testbench\package_path(), andOrchestra\Testbench\workbench_path()usage based on newOrchestra\Testbench\join_paths()function.v9.3.0Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFileto remove.gitkeepfile when directory contain one or more files.Fixes
InteractsWithPublishedFilesshould only flush published files withindatabase/migrationsdirectory.v9.2.0Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\ResolvesLaravelOrchestra\Testbench\Attributes\UsesFrameworkConfigurationfactoriesusing Workbench to mapWorkbench\App\ModelstoWorkbench\Database\Factoriesclasses.workbench/app/Console/Commands.Changes
JsonSerializabletoOrchestra\Testbench\Foundation\UndefinedValue.workbenchas default environment value.Orchestra\Testbench\Attributes\DefineandOrchestra\Testbench\Attributes\DefineEnvironmentto be used on the class level by @danjohnson95Fixes
usesTestingFeature()attribute registration is loaded before class attributes instead of method attributes.v9.1.2Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()usage to detectWorkbench\App\Exceptions\Handlerclass.Orchestra\Testbench\Console\KernelandOrchestra\Testbench\Foundation\Console\Kernelunable to discover commands.v9.1.1Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\package_path()function instead ofTESTBENCH_WORKING_PATHconstant.Fixes
Orchestra\Testbench\Attributes\RequiresLaravelattribute usage.v9.1.0Compare Source
Changes
Testbench Changes
Changes
TESTBENCH_WORKING_PATHfrom environment variable before fallback togetcwd().Fixes
v9.0.4Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\remoteto accept$envwith eitherarrayorstring.TESTBENCH_PACKAGE_REMOTE=truewhen running command usingOrchestra\Testbench\remote.workbenchenvironment variable when Testbench CLI is used outside of testing.Fixes
servecommand.runningInUnitTests()returningtruewhen not running tests via Testbench CLI.v9.0.3Compare Source
Changes
11.1.0.Testbench Changes
Changes
HASH_VERIFYenvironment variables.Fixes
RefreshDatabaseStatewhen usingLazilyRefreshDatabasewith SQLite:in-memory:database connections.v9.0.2Compare Source
Changes
Testbench Changes
Fixes
RefreshDatabaseto be executed ontearDown()only limited when ad-hoc migrations was added during test.v9.0.1Compare Source
Changes
Testbench Changes
Changes
ResetRefreshDatabaseStateviatearDownTheTestEnvironmentUsingTestCase()method.RefreshDatabaseState::$migratedandRefreshDatabaseState::$lazilyRefreshedbefore loading migration paths to the instance ofmigrator.utf8mb4_unicode_ci.Fixes
beforeApplicationDestroyed()usage onloadLaravelMigrations()method.RefreshDatabaseusage does not reset the database migrations between tests.class_implements()should only be executed if the Attribute class exists.bootstrap/app.phpwhen configured using a custom skeleton.v9.0.0Compare Source
Added
Changes
Deprecated
Orchestra\Testbench\Concerns\HandlesAnnotationsin line with PHPUnit removal support for meta-comment support using annotation.Removed
Orchestra\Testbench\Concerns\Database\HandlesConnectionstrait.create-sqlite-dbanddrop-sqlite-dbstandalone commands.Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.