Commit Graph

266 Commits

Author SHA1 Message Date
Fabio Ivona dccd8239dd handles toThrow exception with a "class not found" error 2022-02-18 18:01:09 +01:00
Fabio Ivona e103623ecb adds failing test 2022-02-18 18:00:55 +01:00
Nuno Maduro 4720e0655b Revert "Fixes json in Higher Order Expectations" 2022-01-21 16:48:26 +00:00
Luke Downing 2218a0c137 Tweaks 2022-01-21 16:39:10 +00:00
Luke Downing 2831629f1b Fixes bug with json method call in Higher Order Expectations. 2022-01-21 16:35:21 +00:00
Nuno Maduro 11eb1903c2 release: v1.21.0 2021-11-17 10:54:00 +00:00
Nuno Maduro 04dcebf3aa Revert "Merge pull request #413 from def-studio/fix_skipping_tests_with_exception_asserting"
This reverts commit e853792a59, reversing
changes made to 205238fcbf.
2021-10-10 14:40:07 +01:00
Fabio Ivona b0fbe54181 removes duplicated test 2021-10-02 09:15:52 +02:00
Fabio Ivona 3ff71a4563 adds failing test 2021-10-01 15:52:02 +02:00
Nuno Maduro 7f38de11b7 refactor: --ci option 2021-09-25 13:29:11 +01:00
Fabio Ivona 7d70b6e95a merge from master 2021-09-25 09:04:26 +02: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
Fabio Ivona 6f42e336c9 merge conflict 2021-09-25 08:57:55 +02:00
Fabio Ivona 0d72b5197c merge conflict 2021-09-25 08:55:57 +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 ae029660e3 tests: fixes snapshots 2021-09-24 21:18:30 +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
Mert Aşan 9cc4ecd5ab Merge branch 'master' into method-match 2021-09-24 14:39:21 +03:00
Mert Aşan 8d96f975e0 update snapshots 2021-09-24 14:37:01 +03:00
Mert Aşan da258fa89f remove the warning 2021-09-24 13:55:16 +03:00
Mert Aşan fec11928cf update snapshots 2021-09-23 06:57:07 +03:00
Mert Aşan f6131d042b add tests
The filename is not accepted as `match.php`
2021-09-23 06:56:47 +03:00
Mert Aşan 1681c1f4f8 update snapshots 2021-09-23 03:35:56 +03:00
Mert Aşan f41c3ce9ba add tests 2021-09-23 03:35:46 +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 b22f5e0c85 adds test for CI env runs 2021-09-22 10:38:21 +02:00
Mert Aşan 0b19672963 Merge branch 'master' into throwsif 2021-09-19 01:47:07 +03:00
Mert Aşan a16a19e121 update snapshots 2021-09-16 18:10:15 +03:00
Mert Aşan 3dd10b3c7c change test 2021-09-16 18:09:59 +03:00
Esteban 536ce1eca0 Update snapshots 2021-09-03 04:40:48 -04:00
Esteban 4331b2aaf6 Add toHaveProperties 2021-09-03 04:26:57 -04: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 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 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 5c84b0c6d3 The getFilenames method now respects only calls. 2021-08-13 11:07:52 +01:00
luke 2887d212e3 CS fix 2021-08-13 10:30:26 +01:00
luke cadae52d5d Updates snapshots 2021-08-13 10:29:21 +01:00
luke d9749ca65b Adds a method for getting all filenames 2021-08-13 10:26:38 +01:00
luke 03d34e9a10 Removes isInParallel 2021-08-13 10:14:01 +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 bcab4224fb Skips a test that doesn't support parallel. 2021-08-10 14:24:34 +01:00
luke ef503646ee Removes parallel classes. 2021-08-10 11:30:48 +01:00
Mert Aşan 1d4c1a5359 update snapshots 2021-08-07 08:22:31 +03:00
Mert Aşan 8e32b88fc8 add tests 2021-08-07 08:22:26 +03:00