bb56d32643
chore: fixes coding style issues
2022-11-09 21:08:19 +00:00
c1b32b9ffb
fix: debug in high order tests
2022-05-12 20:03:11 +01:00
11eb1903c2
release: v1.21.0
2021-11-17 10:54:00 +00:00
66d47e4922
fix: usage on PHP 7.3
2021-09-25 09:39:17 +01:00
4daf7ee4ab
refactor: throwsIf method
2021-09-24 21:15:31 +01:00
1a7baad338
add throwsIf exception
2021-08-07 08:22:16 +03:00
2b5355419a
chore: fixes types
2021-07-28 01:59:47 +01:00
22b822ce87
fix: skip with a false condition being ignored
2021-07-28 01:57:13 +01:00
2a8de0565f
Adds support for Higher Order Expectations in Higher Order Tests
2021-07-09 16:50:15 +01:00
dd05452edd
Renames a property to be more inclusive.
2021-07-08 18:39:09 +01:00
99ea9f42e5
Allows you to just specify an exception message when calling throws.
2021-07-08 18:32:02 +01:00
5049b996db
Merge branch 'master' into skip-closure-support
...
# Conflicts:
# src/Support/HigherOrderMessage.php
2021-07-08 17:50:48 +01:00
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
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
c290909eb3
Adds @mixin for HigherOrderCallables class
2021-06-25 09:24:16 +01:00
1c57de7e36
fixes typos
2021-06-13 11:45:18 +01:00
838ac273ab
writed tests with multiple datasets
...
Took 1 hour 6 minutes
2021-05-25 23:56:46 +02:00
dd5a11a61f
updated TestCall.php to store multiple datasets
...
Took 1 hour 59 minutes
2021-05-24 23:28:46 +02:00
43fb711251
Merge branch 'master' into master
2021-05-03 11:47:36 -04:00
d048d60d04
Ignore the absence of the tests folder
2021-04-10 11:51:13 -04: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
df934bacd9
fix TestCase expect phpDoc
2021-01-05 20:42:14 +02: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
01143a6f84
fix(depends): resolve issue with dependency names
2020-11-13 11:08:35 +00:00
3cfadee2bb
PHP 8 and PHPUnit 9.3 support
2020-08-07 11:23:45 +01:00
e2deaae6c9
feat(expect): makes expect work with pending higher order tests
2020-07-15 00:34:59 +02:00
832882160f
feat(expect): updates test suite to use expectation api
2020-07-14 23:15:14 +02:00
45b0d5d899
feat(depends): adds phpdocs
2020-06-19 21:39:01 +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
40a5d067ec
// fixing type checks
2020-06-05 19:35:13 +02:00
3640ab0945
// unnecessary linebreak
2020-06-05 19:30:35 +02:00
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
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
3d2c83a501
Make sure test targets are sanitized in a windows-compatible way
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