Commit Graph

1027 Commits

Author SHA1 Message Date
1706e1d2e0 fix lint 2022-08-02 11:01:17 +02:00
afedf83f5d fix PhpUnit allowiing abstract testcases no more 2022-06-23 15:32:38 +02:00
402995bf29 implement our own Printer class because PhpUnit DefaultPrinter has become final 2022-06-23 14:24:10 +02:00
c0fc52f719 chore: removes team printer while printer stuff is not ready 2022-06-10 09:31:39 +01:00
41dbc947fa Merge pull request #520 from abenerd/feature/new-expectation
add new expectation
2022-05-24 08:00:25 +01:00
fe09184c9c Bump dependencies 2022-05-20 13:47:56 +01:00
4821bd4423 fix: high order tests debug 2022-05-12 20:05:36 +01:00
1461c9ba88 chore: updates composer dependencies 2022-05-12 19:44:45 +01:00
452d4b26b9 add new expectation 2022-05-08 11:13:45 +02:00
3dd7b677bd Merge pull request #517 from fgaroby/make_toHaveKeys_accepts_multi-dimensional_arrays
Make 'toHaveKeys' accept multi-dimensional associative arrays
2022-05-06 15:29:30 +02:00
1e86dcecd0 Better PHPStan types 2022-04-30 11:08:42 +02:00
949ba1f298 fix PHPStan types 2022-04-29 23:06:29 +02:00
77b7181b08 Make 'toHaveKeys' accept multi-dimensional associative arrays 2022-04-29 15:17:36 +02:00
6e120d60f6 Merge pull request #508 from danilopolani/feat/drop-php8.0-support
Drop support for PHP 8.0
2022-04-01 17:10:07 +01:00
10ff36480a drop support for php 8.0 2022-04-01 18:05:04 +02:00
ffb20c9956 Merge pull request #506 from danilopolani/feat/phpunit-tests-folder
[2.x] Read tests folder from PHPUnit.xml file
2022-04-01 16:39:09 +01:00
751a532124 start ConfigLoader tests 2022-04-01 14:34:43 +02:00
80c411be44 add config loader to read phpunit file and get the tests directory or fallback 2022-03-30 15:39:50 +02:00
db5c11d96e Merge pull request #449 from pestphp/performs_no_expectations
[2.x] Adds support for chaining `hasNoExpectations` to the test method.
2022-03-22 13:23:08 +00: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
fca0c8fc0c Adds sponsor 2022-03-11 19:58:21 +00:00
c8aa204ee0 Merge pull request #498 from danilopolani/fix/types
Fix phpstan static errors
2022-03-09 10:51:55 +00:00
a3889110f1 fix phpstan types 2022-03-09 11:48:35 +01:00
cda4665979 Merge pull request #492 from danilopolani/feat/covers-attribute
[2.x] Add `covers` attribute
2022-03-09 10:24:58 +00:00
09e2a26b7d fix linting 2022-03-09 11:09:03 +01:00
3dc451cf44 fix typo 2022-03-09 11:08:11 +01:00
3795870150 move coversNothing to method annotations 2022-03-09 11:05:10 +01:00
24204adc09 Adds StandWithUkraine banner 2022-03-09 01:11:37 +00:00
a027e24e3c fix typo 2022-03-08 15:02:30 +01:00
15e2e1711b enforce class-string for attributes 2022-03-08 14:57:17 +01:00
d363321db5 Merge pull request #497 from pestphp/feature/style
style: apply fixes from PHP-CS-Fixer
2022-03-08 10:58:16 +00:00
3ffed844a6 style: apply fixes from PHP-CS-Fixer 2022-03-08 10:51:38 +00:00
9cf1005183 Merge pull request #496 from hebinet/dump-for-expections
[1.x] Add `dump` helper to Expectation class
2022-03-08 10:24:56 +00:00
3601d01bd5 Added dump helper to Expectation class 2022-03-08 10:41:09 +01: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
edd1d890ca replace double foreach with a filter and reduce 2022-03-07 17:51:39 +01:00
985bbf4ea5 add tests for covers attribute 2022-03-07 17:40:43 +01:00
443f848386 fix fqn for coversClass 2022-03-07 17:40:29 +01:00
32dbac87c8 fix fqn on coversClass attribute and array evaluation 2022-03-07 16:18:55 +01:00
1dc33070fe fix phpdoc 2022-03-06 19:02:02 +01:00
1079793ccf cleanup 2022-03-05 17:25:23 +01:00
21364779f9 move covers attribute above the class 2022-03-05 17:23:03 +01:00
50d8688b79 allow multiple values on coversClass and coversFunction 2022-03-05 17:06:00 +01:00
27baad82d0 remove method name on coversClass 2022-03-05 17:03:45 +01:00
a894386b49 pass methods name to attribute surrounded by quotes 2022-03-05 16:51:12 +01:00
2465b88462 add covers list and attributes mutator 2022-03-05 16:23:05 +01:00
7660517f7c start covers attribute implementation 2022-03-04 22:28:37 +01:00