Commit Graph

30 Commits

Author SHA1 Message Date
luke dd05452edd Renames a property to be more inclusive. 2021-07-08 18:39:09 +01:00
luke 99ea9f42e5 Allows you to just specify an exception message when calling throws. 2021-07-08 18:32:02 +01:00
luke 5049b996db Merge branch 'master' into skip-closure-support
# Conflicts:
#	src/Support/HigherOrderMessage.php
2021-07-08 17:50:48 +01:00
luke b97e206f7a Closures passed to the skip method are now bound to the test case to allow for more complex logic. 2021-07-08 09:44:28 +01:00
luke 7e9edecc7f Higher Order Tests now resolve callable expectations. The tap method now always returns the test case. 2021-07-06 14:05:40 +01:00
luke c290909eb3 Adds @mixin for HigherOrderCallables class 2021-06-25 09:24:16 +01:00
Matias Ibargoyen 1c57de7e36 fixes typos 2021-06-13 11:45:18 +01:00
Fabio Ivona 838ac273ab writed tests with multiple datasets
Took 1 hour 6 minutes
2021-05-25 23:56:46 +02:00
Fabio Ivona dd5a11a61f updated TestCall.php to store multiple datasets
Took 1 hour 59 minutes
2021-05-24 23:28:46 +02:00
Gregori Piñeres 43fb711251 Merge branch 'master' into master 2021-05-03 11:47:36 -04:00
Gregori Piñeres d048d60d04 Ignore the absence of the tests folder 2021-04-10 11:51:13 -04: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
Matan Yadaev df934bacd9 fix TestCase expect phpDoc 2021-01-05 20:42:14 +02: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
Mickaël Isaert f017015d1e fix: authorize string as key for datasets 2020-11-30 14:50:40 +01:00
Owen Voke 01143a6f84 fix(depends): resolve issue with dependency names 2020-11-13 11:08:35 +00:00
Graham Campbell 3cfadee2bb PHP 8 and PHPUnit 9.3 support 2020-08-07 11:23:45 +01:00
Nuno Maduro e2deaae6c9 feat(expect): makes expect work with pending higher order tests 2020-07-15 00:34:59 +02:00
Nuno Maduro 832882160f feat(expect): updates test suite to use expectation api 2020-07-14 23:15:14 +02:00
Nuno Maduro 45b0d5d899 feat(depends): adds phpdocs 2020-06-19 21:39:01 +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
Dimitrios Karvounaris 40a5d067ec // fixing type checks 2020-06-05 19:35:13 +02:00
Dimitrios Karvounaris 3640ab0945 // unnecessary linebreak 2020-06-05 19:30:35 +02:00
Dimitrios Karvounaris 8a42d40506 traits from Autoload.php not loading on Windows
Windows requires realpath() so the case of the
paths and filenames are always identical
2020-06-05 16:23:11 +02:00
Dimitrios Karvounaris 83797431fb in() does not handle absolute paths under Windows
This fixes plugins to be included incorrectly under Windows
2020-06-05 16:23:11 +02:00
Alex Rock Ancelet 3d2c83a501 Make sure test targets are sanitized in a windows-compatible way 2020-06-05 16:21:35 +02:00
Nuno Maduro aa1917c28d feat(pending-higher-order-tests): adds code and tests 2020-06-04 01:34:03 +02:00
Nuno Maduro de2929077b first 2020-05-11 18:38:30 +02:00