0a6873d8a6
wip
2022-11-17 16:14:03 +02:00
09b7ab9a42
fixes ignored dataset description for string description
2022-11-17 15:43:30 +02:00
47cc88a6ab
add tests for eager registered wrapped datasets with Generator functions
2022-10-30 01:35:46 +03:00
239fceab9e
lint
2022-08-25 09:46:32 +02:00
bedf033655
lint
2022-08-25 09:32:48 +02:00
546d19fd84
chore: cs
2022-05-12 20:03:22 +01:00
e103623ecb
adds failing test
2022-02-18 18:00:55 +01:00
4720e0655b
Revert "Fixes json in Higher Order Expectations"
2022-01-21 16:48:26 +00:00
2218a0c137
Tweaks
2022-01-21 16:39:10 +00:00
2831629f1b
Fixes bug with json method call in Higher Order Expectations.
2022-01-21 16:35:21 +00:00
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
b0fbe54181
removes duplicated test
2021-10-02 09:15:52 +02:00
3ff71a4563
adds failing test
2021-10-01 15:52:02 +02:00
7691e3c602
Merge pull request #399 from mertasan/sequence
...
Fix: `sequence()` can generate false positives
2021-09-24 22:15:49 +01:00
b43a59868d
feat: adds unless expectation
2021-09-24 22:12:08 +01:00
457972716f
refactor: expectation match method
2021-09-24 22:02:18 +01:00
f0ddd10a54
Merge branch 'master' into method-match
2021-09-24 21:16:43 +01:00
d60f320382
Merge pull request #371 from mertasan/throwsif
...
Add `throwsIf` exception
2021-09-24 21:10:56 +01:00
9cc4ecd5ab
Merge branch 'master' into method-match
2021-09-24 14:39:21 +03:00
da258fa89f
remove the warning
2021-09-24 13:55:16 +03:00
f6131d042b
add tests
...
The filename is not accepted as `match.php`
2021-09-23 06:56:47 +03:00
f41c3ce9ba
add tests
2021-09-23 03:35:46 +03:00
0b19672963
Merge branch 'master' into throwsif
2021-09-19 01:47:07 +03:00
3dd10b3c7c
change test
2021-09-16 18:09:59 +03:00
4331b2aaf6
Add toHaveProperties
2021-09-03 04:26:57 -04:00
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
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
8e32b88fc8
add tests
2021-08-07 08:22:26 +03: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
022ad4be0d
Merge branch 'master' into bound-datasets
...
# Conflicts:
# tests/.snapshots/success.txt
2021-07-31 23:27:38 +01:00
675b0f1ec8
implements multiple needles in expect()->toContain()
2021-07-31 18:29:03 +02:00
d8fae6d689
Datasets can now access the test case and are executed after the setup method has run.
2021-07-28 10:39:39 +01:00
671f3df115
fix tests
2021-07-28 01:00:19 +02:00
5f574ded81
add toBeIn
2021-07-28 00:36:43 +02:00
4c8c42cd20
Refactor
2021-07-21 08:47:55 +01:00
09682dd393
Alters test to prove order doesn't matter
2021-07-21 08:16:54 +01:00
3bdba9210d
Adds another test
2021-07-21 07:44:05 +01:00
371620d161
Adds support for receiving datasets in higher order tests
2021-07-21 07:40:19 +01:00
5907164749
Merge pull request #341 from pestphp/hot-hoe
...
Adds support for Higher Order Expectations in Higher Order Tests
2021-07-12 11:52:04 +01:00
c160d97428
Forces higher order test callable expects to be closures.
2021-07-11 07:56:02 +01:00
2a8de0565f
Adds support for Higher Order Expectations in Higher Order Tests
2021-07-09 16:50:15 +01:00
99ea9f42e5
Allows you to just specify an exception message when calling throws.
2021-07-08 18:32:02 +01:00
6ce678d1c2
Adds an extra test to ensure that skipping takes place before higher order callables.
2021-07-08 17:52:56 +01:00
5049b996db
Merge branch 'master' into skip-closure-support
...
# Conflicts:
# src/Support/HigherOrderMessage.php
2021-07-08 17:50:48 +01:00
b97e206f7a
Closures passed to the skip method are now bound to the test case to allow for more complex logic.
2021-07-08 09:44:28 +01:00