Commit Graph

49 Commits

Author SHA1 Message Date
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
3ffed844a6 style: apply fixes from PHP-CS-Fixer 2022-03-08 10:51:38 +00:00
98db677646 refacto: pipes 2021-12-05 14:03:09 +00:00
0fc90ec181 Merge branch 'master' into next-1 2021-11-29 09:36:07 +01:00
24943e5fbb Merge branch 'master' into better-dataset-support 2021-11-27 19:55:14 +00:00
33d1579660 Updates from main 2021-11-27 19:54:39 +00:00
beb14ce5f4 Improved generics for higher order 2021-11-27 18:48:58 +00:00
8494d4566a fix tests 2021-11-26 16:15:36 +01:00
7fd9cfa2e9 refactor 2021-11-26 15:44:35 +01:00
5f0752e874 applied changes from code review 2021-11-26 15:29:21 +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
648c6c5a27 refactor: comments 2021-10-24 19:37:29 +01:00
2b687a7269 refactor: PHP 8 features 2021-10-24 18:29:59 +01:00
cf47b45262 feat: basic PHPUnit 10 support 2021-10-24 01:03:18 +01:00
fc53f08e37 implemented pipe closure with $next as the first parameter 2021-10-10 01:02:04 +02:00
55376d32e5 moved decorate implementation to dedicated intercept and pipe calls 2021-10-09 10:22:24 +02:00
8835502074 lint 2021-10-08 16:38:16 +02:00
ba9b06adf3 fix tests 2021-10-08 16:35:31 +02:00
e92d9bfaae implements decorators pipeline 2021-10-08 15:29:35 +02:00
b1a9254fc1 Merge branch 'master' into bound-datasets
# Conflicts:
#	tests/.snapshots/success.txt
2021-08-02 14:02:49 +01:00
1a941d7f92 Refactors 2021-08-01 16:45:06 +01: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
863ddea50b style: split assignment into two lines clarity 2021-07-22 17:54:22 -05:00
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
3a20696da4 CS 2021-06-18 22:03:51 +01:00
27de6106ab Adds type hinting 2021-06-18 22:01:16 +01:00
4b55de27f1 Adds generics 2021-06-18 21:52:24 +01:00
7ff64540a6 Adds nested Higher Order Expectations. 2021-06-16 20:48:23 +01:00
8d670b4ed7 refactor: renames traits 2021-06-15 23:05:57 +01:00
c07cd8c252 feat: move Expectations API out of external plugin 2021-06-15 17:10:21 +01:00
b8103697c9 Remove unused import 2021-05-07 12:45:55 +06:00
90efcc8a8a feat: add shared/global beforeAll and afterAll hooks 2021-04-07 10:55:19 -05:00
54f9397f47 style: address stan + lint issues 2021-04-06 19:32:49 -05:00
ff44589572 refactor: pack hooks into an array instead of 1 argument per hook 2021-04-06 19:27:50 -05:00
99500d0cae feat: add shared/global before each hook 2021-03-28 02:03:31 -05:00
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
5d7f262f4a feat: removes expectation api for a plugin 2020-12-13 22:35:30 +01:00
03dc11c2f6 Adds expect extend 2020-11-29 16:30:57 +01:00
1e7b6a0396 Merge branch 'master' of https://github.com/pestphp/pest into feat-teamcity
 Conflicts:
	phpstan.neon
2020-08-15 08:30:46 +02:00
38344c99f1 style: apply Rector changes 2020-08-12 14:45:55 +01:00
75f17bb118 feat(teamcity): Add basic team city output format 2020-07-28 09:11:30 +02:00
e2deaae6c9 feat(expect): makes expect work with pending higher order tests 2020-07-15 00:34:59 +02:00
5be1edd7b7 added missing return types 2020-06-19 21:25:38 +02:00
75f7ee0acf added feedback from @nunomaduro 2020-06-19 20:39:09 +02:00
d0a74931dd implemented support for PHPUnit's @depends 2020-06-19 19:50:54 +02:00
6fc55becc8 feat: adds support for global helpers 2020-05-13 22:51:50 +02:00
de2929077b first 2020-05-11 18:38:30 +02:00