Commit Graph

273 Commits

Author SHA1 Message Date
Fabio Ivona 5287eff507 merge from master 2021-11-15 11:54:42 +01:00
Nuno Maduro 4b213d63bd feat: reworks evalution of Test Case 2021-11-14 19:58:25 +00:00
Nuno Maduro cd34f0ba81 refactor: comments 2021-10-24 22:39:35 +01:00
Nuno Maduro cf47b45262 feat: basic PHPUnit 10 support 2021-10-24 01:03:18 +01: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 0346450a51 adds test to check if pipes can add parameters to an expectation 2021-10-10 01:09:45 +02:00
Fabio Ivona fc53f08e37 implemented pipe closure with $next as the first parameter 2021-10-10 01:02:04 +02:00
Fabio Ivona bc4e5b9b4e implemented pipe closure with $next as the last parameter 2021-10-10 00:16:21 +02:00
Fabio Ivona c3a445534b adds tests 2021-10-09 12:03:12 +02:00
Fabio Ivona 70877bfad4 updated snapshots 2021-10-09 10:26:22 +02:00
Fabio Ivona 55376d32e5 moved decorate implementation to dedicated intercept and pipe calls 2021-10-09 10:22:24 +02:00
Fabio Ivona ba9b06adf3 fix tests 2021-10-08 16:35:31 +02:00
Fabio Ivona e92d9bfaae implements decorators pipeline 2021-10-08 15:29:35 +02:00
Fabio Ivona d802e88148 moved old Expectation in CoreExpectation.php and made Expectation.php a decorator for it 2021-10-07 22:59:46 +02: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