1153531104
Merge pull request #1055 from mapon-com/feature/string-comparison-expectations
...
[2.x] Allow string type in greaterThan/lessThan expectations
2024-01-25 16:48:27 +00:00
0aecd5d5d7
Merge pull request #974 from erikgaal/expect-to-contain-equals
...
[2.x] Add `toContainEquals` expectation
2024-01-25 14:38:55 +00:00
e95c4ee636
feat(toContainEqual): adds method name
2024-01-25 14:38:44 +00:00
b9d2be87a2
fix: missing things on junit
2024-01-20 13:21:57 +00:00
6fed7545c0
Merge pull request #990 from rudashi/patch-1
...
[2.x] Fix typo in `toHaveProperties` PHPDoc block
2024-01-13 01:44:16 +00:00
b1c59ec2e6
feat: allow string type in gt/lt expectations
2024-01-05 16:21:02 +02:00
453133d382
chore: code style changes
2023-12-15 11:42:09 +00:00
8be46b57a0
Update toHaveProperties() $names param
2023-11-24 09:16:13 +01:00
da20a62e49
Add toSnapshot() early return
...
Sometimes objects need native toString() and toArray() methods that are different from what you want to snapshot.
This adds an explicit toSnapshot() method that will be called first (when set) allowing for better snapshot values than the generic methods offer.
2023-11-21 22:56:21 -05:00
2cbecd10e6
Fix typo in toHaveProperties() PHPDoc block
2023-10-23 11:23:53 +02:00
5101b9dce3
add to be url expectation
2023-10-09 20:02:11 +01:00
6068ef6150
feat: adds support for PHPUnit 10.4
2023-10-06 13:33:31 +01:00
37c40cb735
Add toContainEquals expectation
2023-10-03 10:55:57 +02:00
be0d9e964b
add toBeBetween() expectation
2023-09-22 01:55:06 +01:00
d1aeabc9da
chore: style changes
2023-09-06 12:19:27 +01:00
9c859ae7c4
Merge branch '2.x' into to_be_uuid
2023-09-06 11:53:58 +01:00
42323e27b1
fix: correct method name
2023-09-06 08:21:42 +07:00
3927177b23
finishing the code
2023-09-05 20:36:18 -03:00
038fd80428
feat: toBeUUID expectation
2023-09-05 08:25:02 +07:00
8a44d3f136
chore: resolve toHaveSameSize parameter
2023-08-23 11:28:41 +01:00
afb3dd459a
Merge pull request #924 from hungthai1401/to_have_same_size_expectation
...
[2.x] Add `toHaveSameSize` expectation
2023-08-23 10:14:17 +01:00
b6e3ffafa7
fix: phpstan
2023-08-23 08:14:27 +07:00
dfcdaa3f8e
feat: toHaveSameSize expectation
2023-08-22 11:10:25 +07:00
60b615ea6a
fix: inconsistent type in InvalidExpectationValue exception at toHaveCount expectation
2023-08-22 10:35:07 +07:00
1c7b254395
Merge branch '2.x' into feat/string-case-expectations
2023-08-19 10:28:48 +02:00
de1c721cd9
chore: improve error messages
2023-08-19 10:27:21 +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
f996a48dfa
fix refacto check
2023-08-12 18:14:38 +01:00
54e00dd4dc
add expectations for uppercase, lowercase, alpha and alphanumeric
2023-08-12 16:41:15 +01:00
9afe2296a6
fix line endings on Windows
2023-08-02 10:45:30 +02:00
4e719214c6
fix incomplete tests while updating snapshots
2023-08-01 17:13:15 +02:00
1efb9de043
multiple snapshots
2023-07-27 11:46:22 +02:00
b60d21dfe2
snapshots code cleanup
2023-07-27 11:16:27 +02:00
c7e6df7c95
chore: coding style
2023-07-15 15:11:03 +01:00
19e75d1070
chore: coding style
2023-07-01 10:31:26 +01:00
355a2349af
feat: allows array formats
2023-07-01 10:31:26 +01:00
e541ee86fc
feat: adds "Illuminate\Testing\TestResponse" behavior to snapshot testing
2023-07-01 10:31:26 +01:00
36b585835d
feat: adds snapshot testing
2023-07-01 10:31:26 +01:00
7460bd6c1f
chore: adjusts style
2023-06-13 19:59:59 +02:00
f8930d20ae
allows to check toThrow against an exception instance
2023-05-01 21:42:47 +02:00
81cdb7a300
chore: refacto
2023-04-08 12:23:10 +01:00
31726b51ad
update toHaveProperties
2023-04-02 11:15:31 +01:00
341ba56bb9
fix: uses DateTimeInterface instead
2023-03-22 09:46:23 +00:00
ecbaff503e
Add Date/DateTimeImmutable to Expectations
2023-03-21 14:37:17 +01:00
f309e06292
fix: assertions on opposite expectations
2023-02-18 15:27:25 +00:00
427ee89ae6
feat: improves exporter
2023-02-13 23:56:19 +00:00