Commit Graph

95 Commits

Author SHA1 Message Date
2192373bec test: toHaveSameSize 2023-08-22 11:10:38 +07:00
206548af2b Merge pull request #895 from cerbero90/feature/traversable-sequence
[2.x] Add support for nested traversable in sequence
2023-08-19 09:38:46 +00:00
1c7b254395 Merge branch '2.x' into feat/string-case-expectations 2023-08-19 10:28:48 +02:00
f8dd286213 chore: skip array list 2023-08-19 10:27:02 +02:00
2db15af24a Merge branch '2.x' into feature/traversable-sequence 2023-08-18 12:33:09 +02:00
478144fb35 feat: add toHaveStudlyCaseKeys 2023-08-17 20:51:26 +02:00
5d81cf0d4c feat: add toHaveCamelCaseKeys 2023-08-17 20:51:14 +02:00
0b115230f9 feat: add toHaveKebabCaseKeys 2023-08-17 20:50:51 +02:00
0b246f7a76 feat: add toHaveSnakeCaseKeys 2023-08-17 20:50:26 +02:00
997b0e9368 feat: add toBeStudlyCase 2023-08-17 20:49:40 +02:00
a76414aeee feat: add toBeCamelCase 2023-08-17 20:49:21 +02:00
d2096df82a feat: add toBeKebabCase 2023-08-17 20:48:51 +02:00
4951b1b0f9 feat: add toBeSnakeCase 2023-08-17 20:48:18 +02:00
398e3ff3b5 introducing toBeDigits 2023-08-14 17:10:58 -03:00
54e00dd4dc add expectations for uppercase, lowercase, alpha and alphanumeric 2023-08-12 16:41:15 +01:00
60763f2223 fix tests 2023-08-03 11:27:01 +02:00
00109e9976 tests: adds more tests regarding snapshots multiple 2023-08-02 23:02:00 +01:00
6ead2a4e8b feat(sequence): Add support for nested traversable 2023-08-02 20:31:53 +02:00
fe3747f850 lint 2023-08-01 17:15:44 +02:00
2f6b99885e Merge branch '2.x' into snaphsots-cleanup
# Conflicts:
#	src/Expectation.php
#	src/Expectations/OppositeExpectation.php
2023-08-01 17:04:11 +02:00
011bd3ba82 Added "toBeInvokable" arch expectation. 2023-08-01 12:09:18 +01:00
6886558ed1 feat(arch): Adds support for opposite expectations of toHavePrefix and toHaveSuffix. 2023-07-31 11:28:53 +01:00
1efb9de043 multiple snapshots 2023-07-27 11:46:22 +02:00
b60d21dfe2 snapshots code cleanup 2023-07-27 11:16:27 +02:00
355a2349af feat: allows array formats 2023-07-01 10:31:26 +01:00
36b585835d feat: adds snapshot testing 2023-07-01 10:31:26 +01:00
f8930d20ae allows to check toThrow against an exception instance 2023-05-01 21:42:47 +02:00
2e25eb59b8 style: fixes 2023-04-25 21:32:09 +01:00
1a05df14d0 chore: bumps dependencies 2023-04-19 09:49:26 +01:00
3b9ca8853f fix: various typos fixed 2023-04-03 07:50:25 +02:00
31726b51ad update toHaveProperties 2023-04-02 11:15:31 +01:00
a8bd353ba6 Including tests for Date and DateTimeImmutable 2023-03-21 15:24:42 +01:00
427ee89ae6 feat: improves exporter 2023-02-13 23:56:19 +00:00
60358461c4 feat: add support for toHaveMethod and toHaveMethods 2023-01-29 12:35:21 +00:00
961e44b5ad revert expectation failure message arg back to $message 2022-09-19 11:10:51 +02:00
f3a748fee3 create Any matcher 2022-09-19 11:00:13 +02:00
bac941715a rename message key to failureMessage 2022-09-19 10:37:37 +02:00
8a3caa5e7f add custom message to failed expectations 2022-09-19 09:03:27 +02:00
fa1145dced Moves Laravel stuff to plugin 2022-09-18 15:59:29 +01:00
e9564febaf Migrates to Pint 2022-09-16 10:45:53 +01:00
3ff95faaaa Uses Collision ^7.0 2022-09-15 01:07:15 +01:00
38a82cd142 fix types 2022-08-29 14:04:47 +02:00
1706e1d2e0 fix lint 2022-08-02 11:01:17 +02:00
452d4b26b9 add new expectation 2022-05-08 11:13:45 +02:00
77b7181b08 Make 'toHaveKeys' accept multi-dimensional associative arrays 2022-04-29 15:17:36 +02:00
3ffed844a6 style: apply fixes from PHP-CS-Fixer 2022-03-08 10:51:38 +00:00
36130eb7a0 adds a failing test 2022-02-18 16:40:17 +01:00
8baaf80691 Merge branch 'master' into scoped
# Conflicts:
#	src/Expectations/HigherOrderExpectation.php
#	tests/Features/Expect/HigherOrder/methods.php
2022-01-23 23:44:04 +00:00
e91c85496f Adds support for scoped in HigherOrderExpectations. 2022-01-23 23:37:03 +00:00
ead2dfd0a9 Makes json expectation usable in Higher Order Tests 2022-01-23 23:10:14 +00:00