Commit Graph

142 Commits

Author SHA1 Message Date
luke beb14ce5f4 Improved generics for higher order 2021-11-27 18:48:58 +00:00
Fabio Ivona 8494d4566a fix tests 2021-11-26 16:15:36 +01:00
Fabio Ivona 7fd9cfa2e9 refactor 2021-11-26 15:44:35 +01:00
Fabio Ivona 5f0752e874 applied changes from code review 2021-11-26 15:29:21 +01:00
Fabio Ivona 5287eff507 merge from master 2021-11-15 11:54:42 +01:00
Nuno Maduro 4b213d63bd feat: reworks evalution of Test Case 2021-11-14 19:58:25 +00:00
Nuno Maduro 648c6c5a27 refactor: comments 2021-10-24 19:37:29 +01:00
Nuno Maduro 2b687a7269 refactor: PHP 8 features 2021-10-24 18:29:59 +01:00
Nuno Maduro cf47b45262 feat: basic PHPUnit 10 support 2021-10-24 01:03:18 +01:00
Fabio Ivona fc53f08e37 implemented pipe closure with $next as the first parameter 2021-10-10 01:02:04 +02:00
Fabio Ivona 55376d32e5 moved decorate implementation to dedicated intercept and pipe calls 2021-10-09 10:22:24 +02:00
Fabio Ivona 8835502074 lint 2021-10-08 16:38:16 +02:00
Fabio Ivona ba9b06adf3 fix tests 2021-10-08 16:35:31 +02:00
Fabio Ivona e92d9bfaae implements decorators pipeline 2021-10-08 15:29:35 +02:00
luke b1a9254fc1 Merge branch 'master' into bound-datasets
# Conflicts:
#	tests/.snapshots/success.txt
2021-08-02 14:02:49 +01:00
luke 1a941d7f92 Refactors 2021-08-01 16:45:06 +01:00
luke 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
jordanbrauer 863ddea50b style: split assignment into two lines clarity 2021-07-22 17:54:22 -05:00
jordanbrauer 60c0ad006f fix: prevent the global hooks from piling up (#351)
this happens due to the global `*All()` hooks (before & after) being
defined as static. We should be a good citizen and we need to clean up
our mess for the next person in the test instance constructor
2021-07-21 20:38:20 -05:00
luke 3a20696da4 CS 2021-06-18 22:03:51 +01:00
luke 27de6106ab Adds type hinting 2021-06-18 22:01:16 +01:00
luke 4b55de27f1 Adds generics 2021-06-18 21:52:24 +01:00
luke 7ff64540a6 Adds nested Higher Order Expectations. 2021-06-16 20:48:23 +01:00
Nuno Maduro 8d670b4ed7 refactor: renames traits 2021-06-15 23:05:57 +01:00
Owen Voke c07cd8c252 feat: move Expectations API out of external plugin 2021-06-15 17:10:21 +01:00
Shuvro Roy b8103697c9 Remove unused import 2021-05-07 12:45:55 +06:00
jordanbrauer 90efcc8a8a feat: add shared/global beforeAll and afterAll hooks 2021-04-07 10:55:19 -05:00
jordanbrauer 54f9397f47 style: address stan + lint issues 2021-04-06 19:32:49 -05:00
jordanbrauer ff44589572 refactor: pack hooks into an array instead of 1 argument per hook 2021-04-06 19:27:50 -05:00
jordanbrauer 99500d0cae feat: add shared/global before each hook 2021-03-28 02:03:31 -05:00
avrahamappel b6e2763731 Move dependency mapping to TestCase
The `TestCaseFactory::getClassName` was removed since it can have
unexpected results when called too early, as it builds up the test class
prematurely. It is not currently used anywhere else.
2020-12-17 23:24:11 -05:00
Nuno Maduro 5d7f262f4a feat: removes expectation api for a plugin 2020-12-13 22:35:30 +01:00
Nuno Maduro 03dc11c2f6 Adds expect extend 2020-11-29 16:30:57 +01:00
Oliver Nybroe 1e7b6a0396 Merge branch 'master' of https://github.com/pestphp/pest into feat-teamcity
 Conflicts:
	phpstan.neon
2020-08-15 08:30:46 +02:00
Owen Voke 38344c99f1 style: apply Rector changes 2020-08-12 14:45:55 +01:00
Oliver Nybroe 75f17bb118 feat(teamcity): Add basic team city output format 2020-07-28 09:11:30 +02:00
Nuno Maduro e2deaae6c9 feat(expect): makes expect work with pending higher order tests 2020-07-15 00:34:59 +02:00
Adrian Nürnberger 5be1edd7b7 added missing return types 2020-06-19 21:25:38 +02:00
Adrian Nürnberger 75f7ee0acf added feedback from @nunomaduro 2020-06-19 20:39:09 +02:00
Adrian Nürnberger d0a74931dd implemented support for PHPUnit's @depends 2020-06-19 19:50:54 +02:00
Nuno Maduro 6fc55becc8 feat: adds support for global helpers 2020-05-13 22:51:50 +02:00
Nuno Maduro de2929077b first 2020-05-11 18:38:30 +02:00