Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v1.21.3 (2022-05-12)
Fixed
- Debug of high order tests (c1b32b9)
v1.21.2 (2022-03-05)
Fixed
-
toThrow
expectation when exception does not exist (#487)
v1.21.1 (2021-11-25)
Fixed
- sequence callables causing problems (#442)
v1.21.0 (2021-11-17)
Added
- warn about xdebug modes (1e011c)
v1.20.0 (2021-09-25)
Added
-
throwsIf
test call (#371) -
--ci
CLI option to ignore development options like->local()
(#405) -
when
conditional expectation (#406) -
unless
conditional expectation (b43a598) -
match
conditional expectation (#407)
Fixed
-
sequence
with more expectations than iterable elements (#399)
v1.19.0 (2021-09-20)
Added
v1.18.0 (2021-08-30)
Added
v1.17.0 (2021-08-26)
Added
-
toThrow
expectation (#361)
v1.16.0 (2021-08-19)
Added
- Support for new parallel options (#369)
v1.15.0 (2021-08-04)
Added
-
toBeTruthy
andtoBeFalsy
(#367)
v1.14.0 (2021-08-03)
Added
- A new bound closure that allows you to access the test case in Datasets (#364)
v1.13.0 (2021-08-02)
Added
Fixed
-
skip
with false condition marking test as skipped (22b822c)
v1.12.0 (2021-07-26)
Added
-
--force
option to override tests inpest:test
artisan command (#353) - Support for PHPUnit
^9.3.7
(ca9d783)
Fixed
-
beforeAll
andafterAll
behind called multiple times per test (#357)
v1.11.0 (2021-07-21)
Added
- Support for interacting with datasets in higher order tests (#352)
Changed
- The unit test stub now uses the expectation API (#348)
Fixed
- PhpStorm will no longer show 0 assertions in the output (#349)
v1.10.0 (2021-07-12)
Added
- The ability to use higher order expectations inside higher order tests (#341)
v1.9.1 (2021-07-11)
Fixed
- Callable
expect
values in higher order tests failing if the value was an existing method name (#334)
v1.9.0 (2021-07-09)
Changed
- You may now pass just an exception message when using the
throws
method (#339)
v1.8.0 (2021-07-08)
Added
- A new
tap
and test case awareexpect
methods for higher order tests (#331) - Access to test case methods and properties when using
skip
(#338)
v1.7.1 (2021-06-24)
Fixed
- The
and
method not being usable in Higher Order expectations (#330)
v1.7.0 (2021-06-19)
Added
- Support for non-callable values in the sequence method, which will be passed as
toEqual
(#323) - Support for nested Higher Order Expectations (#324)
v1.6.0 (2021-06-18)
Added
- Adds a new
json
expectation method to improve testing with JSON strings (#325) - Adds dot notation support to the
toHaveKey
andtoHaveKeys
expectations (#322)
v1.5.0 (2021-06-15)
Changed
v1.4.0 (2021-06-10)
Added
- Support for multiple datasets (Matrix) on the
with
method (#303) - Support for incompleted tests (49de462)
v1.3.2 (2021-06-07)
Fixed
- Test cases with the @ symbol in the directory fail (#308)
v1.3.1 (2021-06-06)
Added
- Added for PHPUnit 9.5.5 (#310)
Changed
- Lock minimum Pest plugin versions (#306)
v1.3.0 (2021-05-23)
Added
- Named datasets no longer show the arguments (#302)
Fixed
- Wraps global functions within
function_exists
(#300)
v1.2.1 (2021-05-14)
Fixed
- Laravel commands failing with new
--test-directory
option (#297)
v1.2.0 (2021-05-13)
Added
v1.1.0 (2021-05-02)
Added
- Possibility of "hooks" being added using the "uses" function (#282)
v1.0.5 (2021-03-31)
Added
v1.0.4 (2021-03-17)
Added
- Support for PHPUnit 9.5.3 (#278)
v1.0.3 (2021-03-13)
Added
- Support for test extensions (#269)
v1.0.2 (2021-02-04)
Added
- Support for PHPUnit 9.5.2 (#267)
v1.0.1 (2021-01-18)
Added
- Support for PHPUnit 9.5.1 (#261)
Fixed
- Fix
TestCase@expect
PHPDoc tag (#251)
v1.0.0 (2021-01-03)
Added
-
pest:test --dusk
option (#245)
Changed
- Stable version
- Updates init structure (#240)
v0.3.19 (2020-12-27)
Fixed
- Fix binary path in
pest:dusk
command (#239)
v0.3.18 (2020-12-26)
Added
-
toBeJson()
expectation (plugin-expectations#2)
v0.3.17 (2020-12-20)
Fixed
- Class inheritance with
depends()
(#236)
v0.3.16 (2020-12-13)
Changed
- Moves expectation API for external plugin (5d7f262)
v0.3.15 (2020-12-04)
Added
Fixed
- Static analysis while using string as key for datasets (#233)
v0.3.14 (2020-11-28)
Added
v0.3.13 (2020-11-23)
Added
Fixed
- Resolve issue with name resolution in
depends()
(#216)
v0.3.12 (2020-11-11)
Added
- Add support for PHPUnit 9.4.3 (#219)
v0.3.11 (2020-11-09)
Changed
- Improved the exception output for the TeamCity printer (usage with phpstorm plugin) (#215)
v0.3.10 (2020-11-01)
Added
- Add support for PHPUnit 9.4.2 (d177ab5)
v0.3.9 (2020-10-13)
Added
- Add support for named datasets in description output (#134)
- Add Pest version to
--help
output (#203) - Add support for PHPUnit 9.4.1 (#207)
v0.3.8 (2020-10-03)
Added
- Add support for PHPUnit 9.4.0 (#199)
Fixed
- Fix chained higher order assertions returning void (#196)
v0.3.7 (2020-09-30)
Added
- Add support for PHPUnit 9.3.11 (#193)
v0.3.6 (2020-09-21)
Added
v0.3.5 (2020-09-16)
Added
-
toStartWith
andtoEndWith
expectations (#187)
v0.3.4 (2020-09-15)
Added
-
toMatchObject
expectation (4e184b2)
v0.3.3 (2020-09-13)
Added
-
toHaveKeys
expectation (204f343)
v0.3.2 (2020-09-12)
Added
- Support to PHPUnit 9.3.9, and 9.3.10 (1318bf9)
v0.3.1 (2020-08-29)
Added
- Support to PHPUnit 9.3.8 (#174)
v0.3.0 (2020-08-27)
Added
Fixed
- don't decorate output if --colors=never is set (36b879f)
v0.2.3 (2020-07-01)
Added
-
--init
andpest:install
artisan command output changes (#118, db7c4b1) -
--version
option to view the current version of Pest (9ea51ca)
v0.2.2 (2020-06-21)
Added
-
depends
phpunit feature (#103)
Fixes
- datasets name conflict (#101)
v0.2.1 (2020-06-17)
Fixes
- Multiple
uses
in the same path override previoususes
(#97)
v0.2.0 (2020-06-14)
Adds
-
--init
option to install Pest on a new blank project (70b3c7e) - pending higher orders tests aka tests without description (aa1917c)
Fixed
Changed
-
helpers.php
stub provides now namespaced functions - functions provided by plugins are now namespaced functions:
1use function Pest\Faker\faker;2 3it('foo', function () {4 $name = faker()->name;5});
v0.1.5 (2020-05-24)
Fixed
- Missing default decorated output on coverage (88d2391)
v0.1.4 (2020-05-24)
Added
- Support to Lumen on artisan commands (#18)
Fixed
- Mockery tests without assertions being considered risky (415f571)
v0.1.3 (2020-05-21)
Added
-
Plugin::uses()
method for making traits globally available (6c4be01)
v0.1.2 (2020-05-15)
Added
- Support to custom helpers (#7)
v0.1.1 (2020-05-14)
Added
-
test
function without any arguments returns the current test case (6fc55be)
Fixed
- "No coverage driver error" now returns proper error on Laravel (28d8822)
v0.1.0 (2020-05-09)
Added
- First version
Next section: Upgrade Guide →