Commit Graph

1580 Commits

Author SHA1 Message Date
Mert Aşan 9cc4ecd5ab Merge branch 'master' into method-match 2021-09-24 14:39:21 +03:00
Mert Aşan 7f214f9e12 use and() instead of new self 2021-09-24 13:59:00 +03:00
Mert Aşan da258fa89f remove the warning 2021-09-24 13:55:16 +03:00
Mert Aşan 543b9542ae add new match() method 2021-09-23 06:55:28 +03:00
Mert Aşan 847b06e558 add when() method 2021-09-23 03:35:41 +03:00
Fabio Ivona 601c4b01fc refactors to use a Plugin to parse --ci option 2021-09-22 14:53:16 +02:00
Fabio Ivona 05c1c82ae2 lint 2021-09-22 11:05:04 +02:00
Fabio Ivona 1bde49b3c4 types fix 2021-09-22 11:00:41 +02:00
Fabio Ivona dd643faa5c adds a new --ci option to pest binary 2021-09-22 10:17:44 +02:00
Mert Aşan 0b19672963 Merge branch 'master' into throwsif 2021-09-19 01:47:07 +03:00
Mert Aşan 12e63c7376 add new assertion 2021-09-16 18:09:45 +03:00
Esteban 253e9d10c8 Fix types 2021-09-03 04:44:10 -04:00
Esteban 4331b2aaf6 Add toHaveProperties 2021-09-03 04:26:57 -04:00
Nuno Maduro 60c0636523 release: v1.18.0 2021-08-30 00:05:26 +01:00
Daniel Ang 042f2ec3f3 Use mb_strlen instead of grapheme_strlen
Due to inconsistent behave, mb_strlen will be used.
2021-08-29 12:55:37 +02:00
Daniel Ang 4f386894bd Revert "Use toHaveCount"
This reverts commit 2289adade2.
2021-08-28 18:14:55 +02:00
Daniel Ang 2289adade2 Use toHaveCount
changes to toHaveCount
2021-08-28 17:54:29 +02:00
Daniel Ang 8367af22e7 Adds toHaveLength() Expectation & Tests
Adds toHaveLength() Expectation and its tests. toHaveLength checks if the given value has the informed length. Works with strings, array, object and collections.
2021-08-28 17:02:09 +02:00
Nuno Maduro 075c31bc78 release: v1.17.0 2021-08-26 21:17:03 +01:00
Nuno Maduro 2125bf9668 chore: adjusts tests 2021-08-26 21:14:56 +01:00
Nuno Maduro dbf3c0a8cf Merge pull request #361 from kbond/throw-expectation
Add `toThrow` expectation
2021-08-26 21:02:38 +01:00
Luke Downing eca5f89e59 release: v1.16.0 2021-08-19 17:07:45 +01:00
luke 4dfc02c5da Refactor 2021-08-13 11:19:03 +01:00
luke 5c84b0c6d3 The getFilenames method now respects only calls. 2021-08-13 11:07:52 +01:00
luke d9749ca65b Adds a method for getting all filenames 2021-08-13 10:26:38 +01:00
luke c2070cd99d Refactor 2021-08-13 10:19:10 +01:00
luke 03d34e9a10 Removes isInParallel 2021-08-13 10:14:01 +01:00
luke 45e76a6df6 Typehint updates 2021-08-13 09:41:45 +01:00
luke 28dd3c2a03 Adds -P as a parallel shortcut 2021-08-13 09:39:56 +01:00
luke ab04aef561 Refactors addOutput 2021-08-11 20:59:19 +01:00
luke c7a2e68941 Fixes a problem with the PhpUnit logger 2021-08-10 14:57:36 +01:00
luke 5c592928d4 Adds a new method, isInParallel, to the Testable trait to allow a test to determine its parallel status. 2021-08-10 14:34:10 +01:00
luke ef503646ee Removes parallel classes. 2021-08-10 11:30:48 +01:00
luke a760470e48 Adds Pest output to parallel. 2021-08-09 18:57:20 +01:00
Mert Aşan 1a7baad338 add throwsIf exception 2021-08-07 08:22:16 +03:00
luke 31d1b1b91d Adds a little more spacing above the coverage output. 2021-08-06 15:15:09 +01:00
Adrian Nürnberger 721d5134b7 replace str_starts_with to support pre php 8.0 2021-08-06 16:00:03 +02:00
Adrian Nürnberger 0b5321fdd7 only check for coverage driver if option is present 2021-08-06 15:48:38 +02:00
Adrian Nürnberger c86058fed1 use support class 2021-08-06 15:39:19 +02:00
Adrian Nürnberger 8b295b5e9d remove debug statements 2021-08-06 15:38:59 +02:00
Adrian Nürnberger 221248e691 introduced argument mapping, added pest coverage 2021-08-06 15:25:28 +02:00
luke 62aabc6ae1 Bugfix. The TestCase is now aware of if it is running in parallel or not 😎 2021-08-05 17:09:45 +01:00
luke 1ca9aa5ca6 Further cleanup 2021-08-05 16:43:09 +01:00
luke beca27599c Further cleanup 2021-08-05 16:18:47 +01:00
luke 256b167eaf Improvements 2021-08-05 15:31:09 +01:00
luke 5526d4c24d Cleanup 2021-08-05 13:51:55 +01:00
luke 7ea138c640 CS fixes 2021-08-05 13:41:04 +01:00
luke 0a3991c314 Initial working draft 2021-08-05 13:13:53 +01:00
Nuno Maduro d1a9e0bbe3 release: v1.15.0 2021-08-04 23:02:18 +01:00
Esteban 8ee07330b3 Add toBeFalsy 2021-08-03 20:55:07 -04:00