Commit Graph

157 Commits

Author SHA1 Message Date
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
e6b258534a Merge branch 'master' into higher-order-tap-and-defer
# Conflicts:
#	tests/.snapshots/success.txt
2021-06-24 22:57:48 +01:00
acef002a2d Adds tap for Higher Order tests 2021-06-24 22:57:26 +01:00
4f67eff619 Start of work 2021-06-24 21:38:02 +01:00
ff527baa1d Allows and in Higher Order Expectations. 2021-06-24 21:31:12 +01:00
09d9bae988 Merge branch 'master' into nested-higher-order-expectations
# Conflicts:
#	tests/.snapshots/success.txt
2021-06-18 22:01:30 +01:00
1d415eb7fb Merge branch 'master' into nested-higher-order-expectations
# Conflicts:
#	tests/.snapshots/success.txt
2021-06-18 21:49:05 +01:00
7c4dd2f2e7 Merge branch 'master' into non-callable-sequence
# Conflicts:
#	tests/.snapshots/success.txt
2021-06-18 21:45:02 +01:00
c1b27579ca Method json() to parse JSON strings
- Parse a JSON string into array
- Test
2021-06-18 12:43:17 +02:00
9e9d1cc8cc Merge branch 'master' into nested-higher-order-expectations
# Conflicts:
#	src/Expectation.php
#	tests/.snapshots/success.txt
2021-06-17 00:17:25 +01:00
7ff64540a6 Adds nested Higher Order Expectations. 2021-06-16 20:48:23 +01:00
241d4cf94c Reimplements non-callable sequence values. 2021-06-16 20:34:17 +01:00
a5ce2dc1a1 Reimplements the new toHaveArray features. 2021-06-16 20:27:36 +01:00
c07cd8c252 feat: move Expectations API out of external plugin 2021-06-15 17:10:21 +01:00
ea696f819e feat: move Coverage out of external plugin 2021-06-15 14:26:57 +01:00
dd2921fd26 tests: fixes snapshots 2021-06-10 19:26:42 +01:00
49de462250 Adds support for incompleted tests 2021-06-10 19:20:16 +01:00
95e8add29b Merge pull request #303 from def-studio/matrix-datasets
Matrix datasets
2021-06-10 18:43:31 +01:00
b682fe631d chore: bumps expectation plugin 2021-06-10 18:40:38 +01:00
838ac273ab writed tests with multiple datasets
Took 1 hour 6 minutes
2021-05-25 23:56:46 +02:00
9027411004 feat(mock-plugin): moves mock stuff to their own plugin 2021-05-15 23:43:37 +01:00
88dc74bbe4 feat(mock): updates tests 2021-05-15 01:02:58 +01:00
7023cec432 feat(mock): updates tests 2021-05-15 01:01:46 +01:00
c9f723530d feat(mock): adds work in progress 2021-05-14 23:52:24 +01:00
f75a3ee865 Add test for inheritance with depends 2020-12-15 22:29:37 -05:00
5d7f262f4a feat: removes expectation api for a plugin 2020-12-13 22:35:30 +01:00
bb2474ccbe tests: add regression tests for depends 2020-11-13 11:14:17 +00:00
aa352317cb Add a named dataset test to output to snapshot 2020-10-01 13:54:17 +10:00
da82eecbae Add tests to ensure working. 2020-09-30 21:32:31 +02:00
278af4b835 forward bad TestCase method calls to global functions 2020-08-25 13:45:55 +02:00
e2deaae6c9 feat(expect): makes expect work with pending higher order tests 2020-07-15 00:34:59 +02:00
1aec8bac55 feat(expect): adds toHaveProperty 2020-07-14 23:37:02 +02:00
832882160f feat(expect): updates test suite to use expectation api 2020-07-14 23:15:14 +02:00
9a0cfaf339 use shorter beforeEach chain syntax 2020-06-21 18:39:47 +02:00
bff97418ed do not return $this 2020-06-21 18:27:43 +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
eff2d7f613 fix test and add exception test 2020-06-21 18:23:39 +02:00
211f5c2433 tests: makes incomplete tests success 2020-06-21 17:40:41 +02:00
807a4b004f Merge branch 'master' into feature/depends 2020-06-21 17:10:51 +02:00
53a8c7b05e add test for new macro behavior 2020-06-21 14:02:56 +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
6aa0356570 add more tests 2020-06-19 23:22:14 +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
f9a936b4d9 tests: namespace helpers 2020-06-11 21:56:15 +02:00
c81dce0f6d feat(pending-higher-order-tests): adds code and tests 2020-06-04 01:33:33 +02:00