Commit Graph

22 Commits

Author SHA1 Message Date
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