ℹ️ Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| pestphp/pest | ^1.0 → ^5.0.1 |
Release Notes
pestphp/pest (pestphp/pest)
v5.0.1
v5.0.0
say hello to pest v5
· tia: the fastest testing engine in the world · agent browser plugin: 10x better than the rest · phpstan + rector: built in · evals: test your agents
ship it
v4.7.5
- fix: escape generated test case filename (thanks @luuhung1217)
- chore: upgrade github actions commits
v4.7.4
- fix: internal plugin runtime exception
- chore: bumps
actions/checkoutfrom6.0.3to7.0.0
v4.7.3
- fix: improve
ddoutput on parallel testing - fix: gitlab url not being possible to change
- fix: team city output being duplicated
v4.7.2
- fix: pao dealing with pest's fatal errors
v4.7.1
- fix: improve reporting fatal exceptions
- chore: various security improvements
v4.7.0
- maintenance release
v4.6.3
chore: bumps phpunit
v4.6.2
fix: bumps phpunit, as previous versions became invalid due https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-qrr6-mg7r-m243
v4.6.1
- fix: up to 30% faster boot times before your test suite runs (measured on laravel cloud)
- fix: if you pass --filter or a test file, --update-snapshots now only updates the snapshots that match
v4.6.0
- feat: time based sharding by @nunomaduro in #1671
For better shard balance, Pest can distribute tests based on their actual execution time using the --update-shards option. This ensures each shard takes roughly the same wall-clock time, minimizing how long your slowest CI job runs.
Step 1: Generate the timing data by running your full test suite with --update-shards:
./vendor/bin/pest --update-shardsThis runs all tests and records each test class's duration into tests/.pest/shards.json. You can also combine it with --parallel to speed things up:
./vendor/bin/pest --parallel --update-shardsStep 2: Commit tests/.pest/shards.json to your repository. This file is human-readable and looks like this:
{
"timings": {
"Tests\\Feature\\Payments\\StripeCheckoutTest": 1.608,
"Tests\\Feature\\Reports\\SalesReportTest": 2.105,
"Tests\\Unit\\Models\\UserTest": 0.050
},
"checksum": "...",
"updated_at": "2026-04-14T10:30:00+00:00"
}Step 3: When you run --shard and tests/.pest/shards.json exists, Pest automatically uses time-balanced distribution:
./vendor/bin/pest --shard=1/5The output will indicate that time-balanced sharding is active:
Shard: 1 of 5 — 12 files ran, out of 50 (time-balanced).v4.5.0
Announcement: x.com/enunomaduro/status/2042697927483609449
- feat:
flakyand--flakyby @nunomaduro - feat:
toBeCasedCorrectlyarch test assertion by @SimonBroekaert and @nunomaduro in #1455 - feat: add '--only-covered' option to '--coverage' by @SimonBroekaert in #1626
- fix: typo in
Pest.phpin stubs by @orphanedrecord in #1653 - fix:
toUseTraitto detect inherited and nested traits by @yondifon in #1515 - fix: missing classes before
toExtendonlaravelpreset by @treyssatvincent in #1569 - fix: add "Rules" to
laravelpreset by @bibrokhim in #1580 - fix: enhance support for
--paralleland--teamcityarguments by restoring--teamcityfor ParaTest and fixing teamcity output concurrency by @smirok in #1615 - fix: nested dataset discovery and parallel invalid-dataset reporting by @stsepelin in #1655
- fix: preserve unicode characters in filenames for
--filtermatching by @Vmadmax in #1624 - fix: dataset named parameters by @dbpolito in #1634
- fix: parameter closure this type annotations in functions by @DevDavido in #1628
- fix: dataset inheritance with method chaining (beforeEach()->with(), describe()->with()) by @louisbels in #1565
v4.4.6
- chore: stores statically the test result for
pao
v4.4.5
- style changes
v4.4.4
- style changes
v4.4.3
chore: bumps phpunit
v4.4.2
fix: App\Http not being allowed to be used on laravel providers (arch testing)
fix: styling of stubs
fix: test dir option when used on parallel
v4.4.1
- chore: missing tag
v4.4.0
- feat: symfony 8 (and its components) support
v4.3.2
- fix: security issue found in PHPUnit / https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-vvj3-c3rp-c85p
- fix: closure this for extend
- fix:
Str::beforeLastnot using multibyte string function ofsubstr
v4.3.1
- fix: removes
toHaveSuspiciousCharactersfrom php preset as it may require an extension that is not available
v4.3.0
- feat:
pest()->only()to focus on one file only by @Willem-Jaap in #1598 - fix: adds missing
--dirtyto--helpcommand by @bilboque in https://redirect.github.com/pestphp/pest/pull/1595- - fix: adds missing warning when
intlextension is missing by @owenvoke in #1590
v4.2.0
- adds phpunit 12.5 support
- uses checkout 6 on github actions
v4.1.6
- support for symfony 8.0 components
v4.1.5
- uses
phpunit@12.4.4
v4.1.4
- support for php 8.5
- fix undefined array key "testdox-columns" by @Se7en-RU in #1544
v4.1.3
- uses
phpunit@12.4.1
v4.1.2
- uses
phpunit@12.4
v4.1.1
- Bumps requirements
v4.1.0
Browser Plugin:
- Added
->from()->newYork()to set locale, timezone, and geolocation. Supports dozens of cities worldwide. - Added
assertNoBrokenImagesto check for broken images on pages. - Added
withinFrameto test content inside iframes. - Added
withUserAgentto customize the user agent. - New methods:
resize,forward,back,waitForEvent,typeSlowly,rightClick,withKeyDown, and more.
v4.0.4
- bumps phpunit version
v4.0.3
- fix: prevent duplicate
coversattributes - chore: uses phpunit
12.3.6
v4.0.2
- fix:
--coverageoption causing out-of-memory exception
v4.0.1
- fix:
--testdoxcausing an runtime exception.
v4.0.0
Pest v4 is here — now with browser testing! ✨
Browser tests that feel like unit tests: Laravel-ready, Playwright-powered, parallel-fast, with smoke & visual regression built in.
Discover Pest v4 — and our new website: pestphp.com
v3.8.7
- fix: escape generated test case filename (thanks @luuhung1217)
- chore: pin github actions to commits
v3.8.6
- fix: adjust styling with the latest pint version
v3.8.5
- fix: security issue found in PHPUnit / https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-vvj3-c3rp-c85p
v3.8.4
v3.8.3
- adds support for phpunit
v11.5.33
v3.8.2
- Fixes namespaced functions breaking arch testing
v3.8.1
fix: installation of pest on laravel's starter kits
v3.8.0
- The
--compactflag now hides type coverage for files exceeding 100%. - Added support for using
*as a wildcard in architecture-related expectations. - Various bug fixes in architecture-related methods.
ad: youtube.com/watch?v=o6ZWWy_RQBw
v3.7.5
- Bumps dependencies.
- Fixes
JunitXmlLoggerout of sync with PHPUnit.
v3.7.4
- Adds
--compactoption to coverage
v3.7.3
- Adds Laravel 12 support
v3.7.2
- Bumps PHPUnit version.
v3.7.1
- Bumps PHPUnit and Paratest versions
v3.7.0
- Adds PHPUnit 11.5.0 support
v3.6.0
Full Changelog: https://github.com/pestphp/pest/compare/v3.5.2...v3.6.0
v3.5.2
Full Changelog: https://github.com/pestphp/pest/compare/v3.5.1...v3.5.2
v3.5.1
Full Changelog: https://github.com/pestphp/pest/compare/v3.5.0...v3.5.1
v3.5.0
feat: support for nested describe blocks by @jshayes in #1295
fix: issue where a describe block will prevent a beforeEach call from executing by @jshayes in #1294
v3.4.2
Full Changelog: https://github.com/pestphp/pest/compare/v3.4.1...v3.4.2
v3.4.1
chore: uses stable versions of collision and termwind (with PHP 8.4 support)
v3.4.0
feat: php v8.4 support
v3.3.2
docs: fixes composer command by @AbdellahBoutmad in #1293 fix: missing policy suffix test by @olivernybroe in #1292
v3.3.1
chore: bumps dependencies
v3.3.0
feat: uses phpunit v11.4.0.
v3.2.5
fix: missing middleware method on allowable public methods on controllers on laravel preset by @CamKem in #1280
fix: strict types expectation to allows for comments above declaration by @midnite81 in #1279
v3.2.4
fix: App\Exceptions\Handler ignored on laravel preset
v3.2.3
feat: laravel preset now ignores concerns on App\Enums and App\Features by @jeremynikolic in #1275
v3.2.2
fix: auto-complete on ->preset method
v3.2.1
fix: fix: missing != and !== on new toUseStrictEquality arch expectation
v3.2.0
feat: adds toUseStrictEquality arch expectation
v3.1.0
feat: adds mutates function. https://pestphp.com/docs/mutation-testing
v3.0.8
fix: todo calls with ints on parameters
v3.0.7
chore: bumps phpunit version fix: update assignee URL for Jira by @owenvoke in #1254
v3.0.6
fix: team city usage on phpstorm. #1236
v3.0.5
fix: parallel mutation testing when using Laravel Herd
v3.0.4
fix: afterEach being called twice. #1230
v3.0.3
fix: pest()->printer() method wrongly named. #1229
v3.0.2
- fix:
--processesbeing ignored when running mutate on parallel. #1228
v3.0.1
- fix:
--coveragenot working on non-parallel mode. #1223
v3.0.0
Please consult the upgrade guide and release notes in the official Pest documentation.
v2.36.1
- fix: security issue found in PHPUnit / https://github.com/sebastianbergmann/phpunit/security/advisories/GHSA-vvj3-c3rp-c85p
v2.36.0
v2.35.1
Full Changelog: https://github.com/pestphp/pest/compare/v2.35.0...v2.35.1
v2.35.0
What's Changed
- Include method name in toHaveMethod error message by @dmason30 in #1194
New Contributors
- @dmason30 made their first contribution in #1194
Full Changelog: https://github.com/pestphp/pest/compare/v2.34.9...v2.35.0
v2.34.9
Full Changelog: https://github.com/pestphp/pest/compare/v2.34.8...v2.34.9
v2.34.8
What's Changed
New Contributors
Full Changelog: https://github.com/pestphp/pest/compare/v2.34.7...v2.34.8
v2.34.7
Full Changelog: https://github.com/pestphp/pest/compare/v2.34.6...v2.34.7
v2.34.6
Full Changelog: https://github.com/pestphp/pest/compare/v2.34.5...v2.34.6
v2.34.5
Full Changelog: https://github.com/pestphp/pest/compare/v2.34.4...v2.34.5
v2.34.4
Full Changelog: https://github.com/pestphp/pest/compare/v2.34.3...v2.34.4
v2.34.3
Full Changelog: https://github.com/pestphp/pest/compare/v2.34.2...v2.34.3
v2.34.2
Full Changelog: https://github.com/pestphp/pest/compare/v2.34.1...v2.34.2
v2.34.1
Full Changelog: https://github.com/pestphp/pest/compare/v2.34.0...v2.34.1
v2.34.0
What's Changed
- feat(plugin-laravel): adds
--without-exception-handling,--with-exception-handling,without-deprecation-handling, andwith-deprecation-handlingCLI options
v2.33.6
Full Changelog: https://github.com/pestphp/pest/compare/v2.33.5...v2.33.6
v2.33.5
Full Changelog: https://github.com/pestphp/pest/compare/v2.33.4...v2.33.5
v2.33.4
Full Changelog: https://github.com/pestphp/pest/compare/v2.33.3...v2.33.4
v2.33.3
What's Changed
New Contributors
Full Changelog: https://github.com/pestphp/pest/compare/v2.33.2...v2.33.3
v2.33.2
Full Changelog: https://github.com/pestphp/pest/compare/v2.33.1...v2.33.2
v2.33.1
What's Changed
- Fixing version number by @devajmeireles in #1076
- Add test for junit implementation by @nuernbergerA in #1080
- Track vendor changes by @nuernbergerA in #1081
Full Changelog: https://github.com/pestphp/pest/compare/v2.33.0...v2.33.1
v2.33.0
What's Changed
- feat: allow multiple hooks per directory by @bastien-phi in #961
- feat: adds
toContainEqualsexpectation by @erikgaal in #974 - feat: improve coverage output message on failing minimum requirements by @davybaccaert in #1069
- feat: allow
stringtype ingreaterThan/lessThanexpectations by @paulsn-mapon in #1055 - feat: adds
toBeStringBackedEnum()andtoBeIntBackedEnum()arch expectations by @JonPurvis in #1006 - feat: improves output of fatal php exceptions by @nunomaduro in
c5ce355 - feat(plugin-watch): fixes arguments and coloring by passed to underlying process by @nunomaduro in
8c57cc1and pestphp/pest-plugin-watch@9f8513d - fix: warn if no code coverage driver by @calebdw in #1060
- fix: fixing backtrace not found error if project dirname endswith pest by @Carnicero90 in #972
- fix:
doNotThrowsExceptionsbeing marked as incomplete by @nunomaduro in1d2fe2d - fix: allowing running high order testing with bound datasets by @nunomaduro in
2562d36 - fix: removes process-isolation from --help output @nunomaduro in
7a46514 - fix:
--cache-directoryPHPUnit xml directive being ignore by @nunomaduro ina5bf6a3 - tests: refactors
ansiescape removal by @salehhashemi1992 in #981 - tests: build failing to run by @luismgsantos in #1075
New Contributors
- @bastien-phi made their first contribution in #961
- @erikgaal made their first contribution in #974
- @Carnicero90 made their first contribution in #972
- @davybaccaert made their first contribution in #1069
- @paulsn-mapon made their first contribution in #1055
- @luismgsantos made their first contribution in #1075
Full Changelog: https://github.com/pestphp/pest/compare/v2.32.3...v2.33.0
v2.32.3
What's Changed
- Fix junit parallel by @nuernbergerA in #1073
Full Changelog: https://github.com/pestphp/pest/compare/v2.32.2...v2.32.3
v2.32.2
Full Changelog: https://github.com/pestphp/pest/compare/v2.32.1...v2.32.2
v2.32.1
Full Changelog: https://github.com/pestphp/pest/compare/v2.32.0...v2.32.1
v2.32.0
What's Changed
- [2.x] Fix typo in
toHavePropertiesPHPDoc block by @rudashi in #990 - [2.x] Junit support by @nuernbergerA in #887
New Contributors
Full Changelog: https://github.com/pestphp/pest/compare/v2.31.0...v2.32.0
v2.31.0
What's Changed
New Contributors
Full Changelog: https://github.com/pestphp/pest/compare/v2.30.0...v2.31.0
v2.30.0
- Adds
$this->failsmethod by @nunomadurof83d758
v2.29.1
Full Changelog: https://github.com/pestphp/pest/compare/v2.29.0...v2.29.1
v2.29.0
What's Changed
- Dockerfile Optimization by @mjsafarali in #1014
- Print only files below the min coverage by @WendellAdriel in #919
- Fix typo in
toBeClassby @nhrrs in #1044
New Contributors
- @mjsafarali made their first contribution in #1014
- @nhrrs made their first contribution in #1044
Full Changelog: https://github.com/pestphp/pest/compare/v2.28.1...v2.29.0
v2.28.1
Full Changelog: https://github.com/pestphp/pest/compare/v2.28.0...v2.28.1
v2.28.0
Full Changelog: https://github.com/pestphp/pest/compare/v2.27.0...v2.28.0
v2.27.0
What's Changed
Full Changelog: https://github.com/pestphp/pest/compare/v2.26.0...v2.27.0
v2.26.0
What's Changed
- [2.x] Makes Expectation class non-internal @allanmcarvalho in #1020
- [2.x] Allows
toSnapshoton expectation value by @markhuot in #1017
New Contributors
- @allanmcarvalho made their first contribution in #1020
- @markhuot made their first contribution in #1017
Full Changelog: https://github.com/pestphp/pest/compare/v2.25.0...v2.26.0
v2.25.0
What's Changed
- [2.x] Chore: remove double plus by @faissaloux in #1002
- [2.x] Feat: added onlyOn* methods to run the test only on a specific OS by @nahime0 in #1012
New Contributors
Full Changelog: https://github.com/pestphp/pest/compare/v2.24.3...v2.25.0
v2.24.3
What's Changed
- Fix html in descriptions or datasets by @faissaloux in #1001
Full Changelog: https://github.com/pestphp/pest/compare/v2.24.2...v2.24.3
v2.24.2
What's Changed
- Create PHPStan extension and add
HigherOrderTapProxytouniversalObjectCratesClassesby @CalebDW in #996
New Contributors
Full Changelog: https://github.com/pestphp/pest/compare/v2.24.1...v2.24.2
v2.24.1
Full Changelog: https://github.com/pestphp/pest/compare/v2.24.0...v2.24.1
v2.24.0
What's Changed
- Update actions/checkout to v4 by @salehhashemi1992 in #979
- Fix TestCycle hook scope by @salehhashemi1992 in #980
- Polishing Up "TestDox.php' PHPDoc Blocks for Clarity by @Muhammad-Sarfaraz in #983
- Add
throwsUnlessby @hungthai1401 in #933
New Contributors
- @salehhashemi1992 made their first contribution in #979
- @Muhammad-Sarfaraz made their first contribution in #983
Full Changelog: https://github.com/pestphp/pest/compare/v2.23.2...v2.24.0
v2.23.2
v2.23.1
v2.23.0
v2.22.1
Full Changelog: https://github.com/pestphp/pest/compare/v2.22.0...v2.22.1
v2.22.0
What's Changed
- Adds
toBeUrl()Expectation by @JonPurvis in #977
Full Changelog: https://github.com/pestphp/pest/compare/v2.21.0...v2.22.0
v2.21.0
Full Changelog: https://github.com/pestphp/pest/compare/v2.20.0...v2.21.0
v2.20.0
What's Changed
- [2.x] Add
toBeBetweenexpectation by @JonPurvis in #968
Full Changelog: https://github.com/pestphp/pest/compare/v2.19.2...v2.20.0
v2.19.2
Full Changelog: https://github.com/pestphp/pest/compare/v2.19.1...v2.19.2
v2.19.1
Full Changelog: https://github.com/pestphp/pest/compare/v2.19.0...v2.19.1
v2.19.0
What's Changed
- add toHaveConstructor() and toHaveDestructor() expectations by @JonPurvis in #962
Full Changelog: https://github.com/pestphp/pest/compare/v2.18.2...v2.19.0
v2.18.2
What's Changed
New Contributors
Full Changelog: https://github.com/pestphp/pest/compare/v2.18.1...v2.18.2
v2.18.1
What's Changed
- Update
phpunit.xmlstub file by @Itemshopp in #956
New Contributors
- @Itemshopp made their first contribution in #956
Full Changelog: https://github.com/pestphp/pest/compare/v2.18.0...v2.18.1
v2.18.0
- Fix
dependsusage withdescribeby @devajmeireles in #949 - Adds
toBeUuidexpectation by @hungthai1401 in #948 - Fixes phpdocs in
OppositeExpectationclass by @hungthai1401 in #950
v2.17.0
Added
v2.16.1
Added
toHaveSameSizeexpectation by @hungthai1401 in #924, #930
Fixed
- Inconsistent type have count exception by @hungthai1401 in #923
- Datasets defined in
Pest.php
New Contributors
- @hungthai1401 made their first contribution in #923
v2.16.0
Added
toBeDigits(#911)toBeCamelCase,toBeKebabCase,toBeSnakeCase,toBeStudlyCase,toHaveSnakeCaseKeys,toHaveKebabCaseKeys,toHaveCamelCaseKeys,toHaveStudlyCaseKeys(#921)- native functions support on
archexpectations, e.g:expect('sleep')->toBeUsed();(#4)
Changed
phpunit.xmlstub (#915)
Fixed
- Nested sequences (#895)
v2.15.0
Added
- PHP 8.3 support (0b261ef)
v2.14.1
Changed
- Bumps PHPUnit to
^10.3.2(e012517)
v2.14.0
Added
toBeUppercase(),toBeLowercase(),toBeAlphaNumeric(),toBeAlpha()(#906)
v2.13.0
Added
expect()->ddWhenandexpect()->ddUnless(306b7eb)
v2.12.2
Fixed
- Running tests from
usesparent class (#898)
v2.12.1
Full Changelog: https://github.com/pestphp/pest/compare/v2.12.0...v2.12.1
v2.12.0
Added
- Allows multiple
toMatchSnapshotper test (#881)
Changed
- Bumps PHPUnit to
^10.2.7(43107c1)
v2.11.0
Added
toBeInvokableexpectation (#891)
v2.10.1
Fixed
not->toHaveSuffixandtoHavePrefixexpectations (#888)
v2.10.0
Added
repeatfeature (f3f35a2)
Fixed
-voption (86a6b32)
v2.9.5
Full Changelog: https://github.com/pestphp/pest/compare/v2.9.4...v2.9.5
v2.9.4
Full Changelog: https://github.com/pestphp/pest/compare/v2.9.3...v2.9.4
v2.9.3
v2.9.2
TODO
v2.9.1
Full Changelog: https://github.com/pestphp/pest/compare/v2.9.0...v2.9.1
v2.9.0
TODO
v2.8.3
Full Changelog: https://github.com/pestphp/pest/compare/v2.8.2...v2.8.3
[v2.8.2](https://
✂ Note
PR body was truncated to here.
Configuration
📅 Schedule: (UTC)
- 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.
- If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.