Commit Graph

44 Commits

Author SHA1 Message Date
3d0f267a5c Moves method evaluation to the method factory 2021-11-27 08:08:09 +00:00
729d7c4bef Small tweaks for PHP 8 2021-11-27 07:44:35 +00:00
94585789dc refacto(phpstan-to-8): few adjustments 2021-11-18 23:39:37 +00:00
d4a8a3ec37 upgrade to phpstan lvl 8 2021-11-18 00:12:39 +01:00
f3f58c7f52 upgrade to phpstan lvl 7 2021-11-15 22:20:00 +01:00
ffd4e6d577 upgrade to phpstan level 6 2021-11-15 12:23:53 +01:00
b2cd60395f chore: phpstan level 5 2021-11-14 21:39:24 +00:00
4b213d63bd feat: reworks evalution of Test Case 2021-11-14 19:58:25 +00:00
cd34f0ba81 refactor: comments 2021-10-24 22:39:35 +01: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
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
2a649bdfc0 revert previous solution and invert chain and proxy calls in TestCaseFactory.php 2021-10-02 09:09:47 +02:00
e042bf7d3a removes expection expectations if test is marked as skipped 2021-10-01 15:52:45 +02:00
8d24b4a217 chore: replace prop set/check with method call 2021-07-27 23:39:26 -05:00
dc75b34deb refactor: move logic into boolean method in TestCaseFactory 2021-06-30 09:51:49 -05:00
9d66893d5a feat: add boolean property to signal dependency proxy calls 2021-06-16 01:00:23 -05: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
49de462250 Adds support for incompleted tests 2021-06-10 19:20:16 +01:00
3b784060b8 updated TestCaseFactory.php to store multiple datasets
Took 44 seconds
2021-05-24 23:29:29 +02:00
3589f3d5e7 chore: fixes test suite 2021-03-13 11:06:34 +00:00
19a1569fa8 cleanup for self-review 2021-02-13 13:31:25 -06:00
9a0240bc7b patch addslashes for windows paths 2021-02-13 12:48:43 -06:00
fe2fac37f8 address PHPStan warning about use of empty 2021-02-13 11:53:30 -06:00
bb57a54089 simplify quote escape sequence handling 2021-02-13 11:40:08 -06:00
f6c19e469f in the event of no class name, make one on the fly as an escape hatch 2021-02-13 11:20:16 -06:00
301ff155a4 prevent parse errors by escaping the quote used for filename property 2021-02-13 11:17:52 -06:00
40f2065575 catch parse errors and let the user know in a friendlier manner 2021-02-13 11:12:09 -06:00
be906eb823 remove additional str_replace call in favour of adjusting the relative path regexp 2021-02-13 11:08:08 -06:00
c6a6f7e2ab fix typo 2021-02-13 00:15:54 -06:00
20077c285a WIP proof of concept fix for multiple file extensions in test suffix 2021-02-13 00:14:20 -06: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
f017015d1e fix: authorize string as key for datasets 2020-11-30 14:50:40 +01:00
3cfadee2bb PHP 8 and PHPUnit 9.3 support 2020-08-07 11:23:45 +01:00
5be1edd7b7 added missing return types 2020-06-19 21:25:38 +02:00
d0a74931dd implemented support for PHPUnit's @depends 2020-06-19 19:50:54 +02:00
40a5d067ec // fixing type checks 2020-06-05 19:35:13 +02:00
dff9bbc134 Fix file paths not being used properly
basename() will strip full path information on some systems.
What is needed is to use both dirname() & basename() on paths,
as recognized by all systems, and only afterwards do any
replacements.
2020-06-05 18:24:03 +02:00
a0b8082631 Fix issue with case-insensitive windows paths 2020-06-05 16:23:11 +02:00
24f85354e2 Normalize Windows dir name in TestCaseFactory 2020-06-05 16:21:35 +02:00
aa1917c28d feat(pending-higher-order-tests): adds code and tests 2020-06-04 01:34:03 +02:00
de2929077b first 2020-05-11 18:38:30 +02:00