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
2125bf9668
chore: adjusts tests
2021-08-26 21:14:56 +01:00
dbf3c0a8cf
Merge pull request #361 from kbond/throw-expectation
...
Add `toThrow` expectation
2021-08-26 21:02:38 +01:00
9ec0762d41
tests: refactors toBeTruthy and toBeFalsy
2021-08-04 22:56:18 +01:00
8ee07330b3
Add toBeFalsy
2021-08-03 20:55:07 -04:00
cffde4564d
Add toBeTruthy
2021-08-03 20:54:56 -04:00
c776bcf86d
add toThrow expectation
2021-08-01 12:33:09 -04:00
675b0f1ec8
implements multiple needles in expect()->toContain()
2021-07-31 18:29:03 +02:00
671f3df115
fix tests
2021-07-28 01:00:19 +02:00
5f574ded81
add toBeIn
2021-07-28 00:36:43 +02:00
2a8de0565f
Adds support for Higher Order Expectations in Higher Order Tests
2021-07-09 16:50:15 +01:00
ff527baa1d
Allows and in Higher Order Expectations.
2021-06-24 21:31:12 +01:00
09d9bae988
Merge branch 'master' into nested-higher-order-expectations
...
# Conflicts:
# tests/.snapshots/success.txt
2021-06-18 22:01:30 +01:00
1d415eb7fb
Merge branch 'master' into nested-higher-order-expectations
...
# Conflicts:
# tests/.snapshots/success.txt
2021-06-18 21:49:05 +01:00
7c4dd2f2e7
Merge branch 'master' into non-callable-sequence
...
# Conflicts:
# tests/.snapshots/success.txt
2021-06-18 21:45:02 +01:00
c1b27579ca
Method json() to parse JSON strings
...
- Parse a JSON string into array
- Test
2021-06-18 12:43:17 +02:00
9e9d1cc8cc
Merge branch 'master' into nested-higher-order-expectations
...
# Conflicts:
# src/Expectation.php
# tests/.snapshots/success.txt
2021-06-17 00:17:25 +01:00
7ff64540a6
Adds nested Higher Order Expectations.
2021-06-16 20:48:23 +01:00
241d4cf94c
Reimplements non-callable sequence values.
2021-06-16 20:34:17 +01:00
a5ce2dc1a1
Reimplements the new toHaveArray features.
2021-06-16 20:27:36 +01:00
c07cd8c252
feat: move Expectations API out of external plugin
2021-06-15 17:10:21 +01:00