mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
8.8 KiB
8.8 KiB
Release Notes for 2.x
Unreleased
v2.10.1 (2023-07-31)
Fixed
not->toHaveSuffixandtoHavePrefixexpectations (#888)
v2.10.0 (2023-07-31)
Added
repeatfeature (f3f35a2)
Fixed
-voption (86a6b32)
v2.9.5 (2023-07-22)
Fixed
- Assertions count on arch expectations (632ffc2)
v2.9.4 (2023-07-22)
Fixed
- Output on
describebeforeEachfailure (5637dfa)
v2.9.3 (2023-07-20)
Fixed
- Snapshots directory on Windows environments (cf52752)
v2.9.2 (2023-07-20)
Fixed
beforeEachon Windows environments (a37a3b9)
v2.9.1 (2023-07-20)
Chore
- Bumps PHPUnit to
^10.2.6(8fdb0b3)
v2.9.0 (2023-07-19)
"Spicy Summer" is the codename assigned to Pest 2.9, for full details check our announcement: https://pestphp.com/docs/pest-spicy-summer-release
Added
- Built-in Snapshot Testing (c828756)
- Describe Blocks (c828756)
- Architectural Testing++ (c828756)
- Type Coverage Plugin (c828756)
- Drift Plugin (c828756)
v2.8.1 (2023-06-20)
Fixed
- Fixes "Cannot find TestCase object on call stack" (eb7bb34)
v2.8.0 (2023-06-19)
Added
- Support for
globsinuses(#829)
v2.7.0 (2023-06-15)
Added
- Support for unexpected output on printer (eb9f31e)
Chore
- Bumps PHPUnit to
^10.2.2(0e5470b)
v2.6.3 (2023-06-07)
Chore
- Bumps PHPUnit to
^10.2.1(73a859e)
v2.6.2 (2023-06-02)
Chore
- Bumps PHPUnit to
^10.2.0(a0041f1)
v2.6.1 (2023-04-12)
Fixes
- PHPStorm issue output problem for tests throwing an exception before the first assertion (#809)
- Allow traits to be covered (#804)
Chore
- Bumps PHPUnit to
^10.1.3(c993252)
v2.6.0 (2023-04-05)
Adds
- Allows
toThrowto be used against an exception instance (#797)
v2.5.2 (2023-04-19)
Chore
- Removes
myclabs/php-enumadependency (1a05df1)
v2.5.1 (2023-04-18)
Chore
- Bumps PHPUnit to
^10.1.1(ec6a817)
v2.5.0 (2023-04-14)
Chore
- Bumps PHPUnit to
^10.1.0(#780)
v2.4.0 (2023-04-03)
Added
skipOnWindows(),skipOnMac(), andskipOnLinux()(#757)- source architecture testing violation (#1)(8e66263)
toHavePropertiesmay now also check values (#760)
Fixed
- Tests on
tests/Helpersdirectory not being executed (#753) - Teamcity count (#747)
- Parallel execution when class extends class with same name (#748)
- Wording on
uses()hint (#745)
v2.3.0 (2023-03-28)
Added
- Better error handler about missing uses (#743)
Fixed
- Inconsistent spelling of
dataset(#739)
Chore
- Bumps PHPUnit to
^10.0.19(3d7e621)
v2.2.3 (2023-03-24)
Fixed
- Unnecessary dataset on dataset arguments mismatch (#736)
- Parallel arguments on plugins order (#703)
- Arch plugin runtime exceptions on bad phpdocs (2f2b51c)
v2.2.2 (2023-03-23)
Fixed
- Edge case in parallel execution test description (3ce6408)
v2.2.1 (2023-03-22)
Fixed
- Collision between tests names with underscores (#724)
Chore
- Bumps PHPUnit to
^10.0.18(1408cff)
v2.2.0 (2023-03-22)
Added
- Improved error messages on dataset arguments mismatch (#698)
- Allows the usage of
DateTimeInterfaceon multiple expectations (#716)
Fixed
--dirtyoption on Windows environments (#721)- Parallel exit code when
phpunit.xmlis outdated (14dd5cb)
v2.1.0 (2023-03-21)
Added
onlytest case method (bcd1503)
Fixed
- Issues with different characters on test names (715)
v2.0.2 (2023-03-20)
Fixed
Pest.phpnot being loaded in certain scenarios (b887116)
v2.0.1 (2023-03-20)
Fixed
- Wrong
versionconfiguration key oncomposer.json(8f91f40)
v2.0.0 (2023-03-20)
Please consult the upgrade guide and release notes in the official Pest documentation.