Commit Graph

394 Commits

Author SHA1 Message Date
Fabio Ivona e042bf7d3a removes expection expectations if test is marked as skipped 2021-10-01 15:52:45 +02:00
Nuno Maduro ba06c5a76d release: v1.20.0 2021-09-25 13:52:12 +01:00
Nuno Maduro 7f38de11b7 refactor: --ci option 2021-09-25 13:29:11 +01:00
Nuno Maduro a6e34d204c Merge pull request #405 from def-studio/add-new-ci-option-to-pest-bin
Add new --ci option to pest bin
2021-09-25 13:11:05 +01:00
Nuno Maduro 66d47e4922 fix: usage on PHP 7.3 2021-09-25 09:39:17 +01:00
Fabio Ivona 076dcab4c5 Merge remote-tracking branch 'origin/master' into add-new-ci-option-to-pest-bin
# Conflicts:
#	tests/.snapshots/success.txt
2021-09-25 09:04:07 +02:00
Nuno Maduro 7691e3c602 Merge pull request #399 from mertasan/sequence
Fix: `sequence()` can generate false positives
2021-09-24 22:15:49 +01:00
Nuno Maduro b43a59868d feat: adds unless expectation 2021-09-24 22:12:08 +01:00
Nuno Maduro 457972716f refactor: expectation match method 2021-09-24 22:02:18 +01:00
Nuno Maduro f0ddd10a54 Merge branch 'master' into method-match 2021-09-24 21:16:43 +01:00
Nuno Maduro 4daf7ee4ab refactor: throwsIf method 2021-09-24 21:15:31 +01:00
Nuno Maduro d60f320382 Merge pull request #371 from mertasan/throwsif
Add `throwsIf` exception
2021-09-24 21:10:56 +01:00
Nuno Maduro 3c3e6b160b refactor: expectation when 2021-09-24 21:10:02 +01:00
Mert Aşan c99f8f196e lint 2021-09-24 14:42:26 +03:00
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