1aec8bac55
feat(expect): adds toHaveProperty
2020-07-14 23:37:02 +02:00
32ef377284
feat(expect): removes ignore cases related assertions
2020-07-14 23:21:51 +02:00
832882160f
feat(expect): updates test suite to use expectation api
2020-07-14 23:15:14 +02:00
819825bdd2
feat(expect): add more methods
2020-07-14 08:08:13 +01:00
d29c789788
feat(expect): add more methods
2020-07-13 17:57:18 +01:00
b4c45af785
feat(expect): add more methods
2020-07-13 17:49:19 +01:00
b4bf799d75
feat(expect): add more methods
2020-07-13 17:38:09 +01:00
9f62f2d483
feat(expect): add more methods
2020-07-13 17:27:55 +01:00
679082e805
feat(expect): add more methods
2020-07-10 07:53:45 +01:00
42f0bd052e
feat(expect): add more methods
2020-07-10 07:47:34 +01:00
01b9bab55f
feat(expect): adds toBe
2020-07-06 00:32:12 +02:00
db7c4b174f
refactor: thanks
2020-07-01 20:23:00 +02:00
64a8ed04ff
Add --thanks option plugin
2020-07-01 10:25:22 +01:00
9ea51caf3f
feat: adds --version option
2020-06-26 18:17:11 +02:00
fac44d9afe
revert to first approach by calling __call directly
2020-06-21 18:46:11 +02:00
6e27c6d85d
fix tye check
2020-06-21 18:44:04 +02:00
321b3e8df3
use call_user_func_array instead of direct calling __call
...
add check for __callStatic
2020-06-21 18:31:09 +02:00
a47ad6a1d3
Merge branch 'master' of https://github.com/pestphp/pest into patch-1
...
# Conflicts:
# tests/.snapshots/success.txt
2020-06-21 18:25:57 +02:00
e135979f34
revert null old-target logic
2020-06-21 18:22:34 +02:00
807a4b004f
Merge branch 'master' into feature/depends
2020-06-21 17:10:51 +02:00
ef5715ce10
ignore null return values and re-use old target
2020-06-21 14:02:42 +02:00
0c04882389
use long exception variable name
2020-06-21 13:08:06 +02:00
323c5f211f
pass calls to overloaded method if possible
...
fix #108
2020-06-21 11:55:32 +02:00
6dd3ca20e4
Also handle multiple descriptions within whole dataset
2020-06-20 11:29:07 +02:00
d9ea378819
Only append numbers when data set desc is the same
2020-06-20 09:53:38 +02:00
45b0d5d899
feat(depends): adds phpdocs
2020-06-19 21:39:01 +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
0738e113ad
Fix dataset name creation with objects
...
fixes #98
2020-06-19 16:03:47 +02:00
ae7991c7e9
Style fixes.
2020-06-17 11:56:24 -03:00
40766f9275
Fix in Test Repository use method.
2020-06-17 09:59:46 -03:00
3a78aaef8f
fix(container): resolves dependencies without contructor
...
Co-Authored-By: Johannes Pichler <fetzi@users.noreply.github.com >
2020-06-14 16:15:05 +02:00
518b056fb9
fix: do not force having tests folder
2020-06-12 02:12:51 +02:00
1192d13e6b
add memory optimisation for Backtrace::testFile()
2020-06-11 16:38:31 +02:00
57b982de48
fix ci build
2020-06-11 16:31:14 +02:00
a3366379e0
optimise debug_backtrace calls
2020-06-11 16:13:17 +02:00
58f2581307
Merge branch 'master' into feature/add-container
2020-06-05 22:39:02 +02:00
865f33bf80
// fixing type check
2020-06-05 19:45:58 +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
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
d35320c697
Compare filename correctly on all OS
2020-06-05 17:25:53 +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
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
3d2c83a501
Make sure test targets are sanitized in a windows-compatible way
2020-06-05 16:21:35 +02:00
337e751200
Update plugin interfaces and instantiate container
2020-06-05 11:52:23 +02:00
b20f208b55
Add basic container implementation
2020-06-05 11:51:33 +02:00