Commit Graph

308 Commits

Author SHA1 Message Date
db00fc8c09 Renamed DatasetAlreadyExists exception 2022-09-22 11:01:31 +02:00
cbee6e76b0 [feat] scoped datasets 2022-09-20 00:11:37 +02: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
97431f2622 fix tests when coverage is not available 2022-09-19 10:50: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
0e0e2adfbe Fixes --version and --help 2022-09-17 23:47:47 +01:00
08b62f6633 Skips coverage 2022-09-16 19:49:07 +01:00
9fd8610390 Adds compact printer 2022-09-16 16:27:23 +01:00
7a41a540f2 Fixes covers tests 2022-09-16 12:34:20 +01:00
e9564febaf Migrates to Pint 2022-09-16 10:45:53 +01:00
af82c1005a Adds todo 2022-09-15 23:08:32 +01:00
6769231b00 Fixes using test cases on uses with tests 2022-09-15 09:13:45 +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
429660fe57 fix tests 2022-08-26 11:38:36 +02:00
a4ec4b2841 fix tests against PhpUnit 10 refactors 2022-08-25 16:20:00 +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
f3ed9bdf8e Merge branch 'master' into performs_no_expectations
# Conflicts:
#	src/PendingCalls/TestCall.php
2022-03-22 13:20:31 +00:00
53c20d9cd2 Renames method to throwsNoExceptions. 2022-03-22 13:19:23 +00:00
cda4665979 Merge pull request #492 from danilopolani/feat/covers-attribute
[2.x] Add `covers` attribute
2022-03-09 10:24:58 +00:00
3795870150 move coversNothing to method annotations 2022-03-09 11:05:10 +01:00
3ffed844a6 style: apply fixes from PHP-CS-Fixer 2022-03-08 10:51:38 +00:00
d0136b63d4 fix linting 2022-03-07 18:23:06 +01:00
00029c15ef add generic covers method to accept both classes and functions 2022-03-07 18:22:30 +01:00
a5cbdea868 fix phpstan issues 2022-03-07 17:51:47 +01:00
985bbf4ea5 add tests for covers attribute 2022-03-07 17:40:43 +01:00
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
6d5a8a9235 Merge branch 'master' into performs_no_expectations 2022-02-10 17:26:15 +00: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
d969eaac2c Adds support for chaining hasNoExpectations to the test method. 2021-12-08 08:58:42 +00: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