0e85921964
feat: Add code to the throws arg
2022-03-04 13:05:55 +09: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
6bf92d20ad
Merge pull request #465 from pestphp/v2_json_fix
...
Makes `json` expectation usable in Higher Order Tests
2022-01-23 23:29:35 +00:00
b99f65d936
Renames tap to defer.
2022-01-23 23:18:55 +00:00
ead2dfd0a9
Makes json expectation usable in Higher Order Tests
2022-01-23 23:10:14 +00:00
12b48a6cf6
move to new test
2022-01-20 10:34:32 +00:00
b99c4d611b
test
2022-01-20 10:21:54 +00:00
30b1f6cd0a
Add test for and()
2022-01-16 22:32:55 +10:00
b74a688677
tests: style
2021-12-05 14:59:07 +00:00
b1f9ce2283
refacto: structure
2021-12-05 14:40:08 +00:00
0fc90ec181
Merge branch 'master' into next-1
2021-11-29 09:36:07 +01:00
ce2dcc3128
Merge branch 'master' into better-dataset-support
...
# Conflicts:
# src/Concerns/Testable.php
2021-11-27 19:28:39 +00:00
7fd9cfa2e9
refactor
2021-11-26 15:44:35 +01:00
3df78f2edf
Merge branch 'pipes-and-interceptors' into next-1
...
# Conflicts:
# src/Concerns/Extendable.php
# src/CoreExpectation.php
# src/Expectation.php
# src/Support/ExpectationPipeline.php
# src/Support/Extendable.php
2021-11-26 15:31:40 +01:00
5287eff507
merge from master
2021-11-15 11:54:42 +01:00
4b213d63bd
feat: reworks evalution of Test Case
2021-11-14 19:58:25 +00:00
3943919709
implemements pipelines and adds tests for it
2021-10-31 15:23:28 +01:00
22d16d54c6
Merge branch 'next' into better-dataset-support
...
# Conflicts:
# src/Concerns/Testable.php
2021-10-27 18:28:51 +01:00
cd34f0ba81
refactor: comments
2021-10-24 22:39:35 +01:00
cf47b45262
feat: basic PHPUnit 10 support
2021-10-24 01:03:18 +01:00
eed3ed5513
Vastly improves the logic around bound datasets to make them more user friendly.
2021-10-19 21:40:40 +01: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
0346450a51
adds test to check if pipes can add parameters to an expectation
2021-10-10 01:09:45 +02:00
fc53f08e37
implemented pipe closure with $next as the first parameter
2021-10-10 01:02:04 +02:00
bc4e5b9b4e
implemented pipe closure with $next as the last parameter
2021-10-10 00:16:21 +02:00
c3a445534b
adds tests
2021-10-09 12:03:12 +02:00
55376d32e5
moved decorate implementation to dedicated intercept and pipe calls
2021-10-09 10:22:24 +02:00
e92d9bfaae
implements decorators pipeline
2021-10-08 15:29:35 +02:00
d802e88148
moved old Expectation in CoreExpectation.php and made Expectation.php a decorator for it
2021-10-07 22:59:46 +02: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