Commit Graph

198 Commits

Author SHA1 Message Date
JonPurvis 54e00dd4dc add expectations for uppercase, lowercase, alpha and alphanumeric 2023-08-12 16:41:15 +01:00
Fabio Ivona 60763f2223 fix tests 2023-08-03 11:27:01 +02:00
Nuno Maduro 00109e9976 tests: adds more tests regarding snapshots multiple 2023-08-02 23:02:00 +01:00
Fabio Ivona fe3747f850 lint 2023-08-01 17:15:44 +02:00
Fabio Ivona 2f6b99885e Merge branch '2.x' into snaphsots-cleanup
# Conflicts:
#	src/Expectation.php
#	src/Expectations/OppositeExpectation.php
2023-08-01 17:04:11 +02:00
Ash Allen 011bd3ba82 Added "toBeInvokable" arch expectation. 2023-08-01 12:09:18 +01:00
Luke Downing 6886558ed1 feat(arch): Adds support for opposite expectations of toHavePrefix and toHaveSuffix. 2023-07-31 11:28:53 +01:00
Nuno Maduro f3f35a2ed1 feat: adds repeat 2023-07-30 23:49:20 +01:00
Fabio Ivona 1efb9de043 multiple snapshots 2023-07-27 11:46:22 +02:00
Fabio Ivona b60d21dfe2 snapshots code cleanup 2023-07-27 11:16:27 +02:00
Nuno Maduro 355a2349af feat: allows array formats 2023-07-01 10:31:26 +01:00
Nuno Maduro 36b585835d feat: adds snapshot testing 2023-07-01 10:31:26 +01:00
Nuno Maduro 26a6e7d712 More tests 2023-07-01 10:31:26 +01:00
Nuno Maduro 3e8616ec64 feat(describe): continues work around hooks 2023-07-01 10:31:26 +01:00
Nuno Maduro 465c65243d feat(describe): improves logic around hooks 2023-07-01 10:31:26 +01:00
Tim Smith 477492fdd2 Adding tests 2023-05-06 08:43:19 +01:00
Nuno Maduro 97898a0a8e feat: allows to use test calls on before each calls 2023-05-01 22:18:47 +01:00
Fabio Ivona f8930d20ae allows to check toThrow against an exception instance 2023-05-01 21:42:47 +02:00
Nuno Maduro 2e25eb59b8 style: fixes 2023-04-25 21:32:09 +01:00
Nuno Maduro 1a05df14d0 chore: bumps dependencies 2023-04-19 09:49:26 +01:00
Sandro Gehri 3b9ca8853f fix: various typos fixed 2023-04-03 07:50:25 +02:00
Lucas Giovanny 31726b51ad update toHaveProperties 2023-04-02 11:15:31 +01:00
Sandro Gehri d14f2728d8 fix: tests in Helpers directory are not executed 2023-03-30 21:49:17 +02:00
Dan Ang a8bd353ba6 Including tests for Date and DateTimeImmutable 2023-03-21 15:24:42 +01:00
Dan Ang 540c2a56bd grammar fixes 2023-03-20 00:37:32 +01:00
Nuno Maduro d71af91360 feat: re-adds tap to avoid BC 2023-03-14 19:09:46 +00:00
Fabio Ivona dbef162fa6 failing test 2023-03-13 18:13:57 +01:00
Fabio Ivona 1bd9c9e60d wip 2023-03-13 18:13:57 +01:00
Nuno Maduro eadc6f4307 chore: fix tests 2023-03-03 09:50:41 +00:00
Nuno Maduro 1e61034e86 feat: support for deprecated, notices, and warnings 2023-03-02 20:37:18 +00:00
Nuno Maduro 3f6b2e856e tests: helpers fix 2023-03-02 17:51:34 +00:00
Nuno Maduro 3df68b288a tests: deprecations 2023-03-02 17:51:21 +00:00
Nuno Maduro f25a9f5558 feat: warnings support 2023-03-02 17:50:57 +00:00
Nuno Maduro 427ee89ae6 feat: improves exporter 2023-02-13 23:56:19 +00:00
Owen Voke 60358461c4 feat: add support for toHaveMethod and toHaveMethods 2023-01-29 12:35:21 +00:00
Nuno Maduro e228d565af feat: allows to chain todo 2023-01-10 20:21:36 +00:00
Alex Manase d33cc19778 fix: ignored dataset description for string description 2022-12-07 20:10:23 +02:00
Fabio Ivona 3aaa93931a Merge branch 'master' into datasets-scope
# Conflicts:
#	tests/.snapshots/success.txt
2022-11-30 14:06:05 +01:00
Alex Manase 649047f087 formatting 2022-10-30 13:17:56 +02:00
Alex Manase 3aab10774e wip 2022-10-30 13:16:07 +02:00
Fabio Ivona db00fc8c09 Renamed DatasetAlreadyExists exception 2022-09-22 11:01:31 +02:00
Fabio Ivona cbee6e76b0 [feat] scoped datasets 2022-09-20 00:11:37 +02:00
Fabio Ivona 961e44b5ad revert expectation failure message arg back to $message 2022-09-19 11:10:51 +02:00
Fabio Ivona f3a748fee3 create Any matcher 2022-09-19 11:00:13 +02:00
Fabio Ivona 97431f2622 fix tests when coverage is not available 2022-09-19 10:50:13 +02:00
Fabio Ivona bac941715a rename message key to failureMessage 2022-09-19 10:37:37 +02:00
Fabio Ivona 8a3caa5e7f add custom message to failed expectations 2022-09-19 09:03:27 +02:00
Nuno Maduro fa1145dced Moves Laravel stuff to plugin 2022-09-18 15:59:29 +01:00
Nuno Maduro 0e0e2adfbe Fixes --version and --help 2022-09-17 23:47:47 +01:00
Nuno Maduro 08b62f6633 Skips coverage 2022-09-16 19:49:07 +01:00