Commit Graph

166 Commits

Author SHA1 Message Date
4c8c42cd20 Refactor 2021-07-21 08:47:55 +01:00
09682dd393 Alters test to prove order doesn't matter 2021-07-21 08:16:54 +01:00
3bdba9210d Adds another test 2021-07-21 07:44:05 +01:00
371620d161 Adds support for receiving datasets in higher order tests 2021-07-21 07:40:19 +01:00
5907164749 Merge pull request #341 from pestphp/hot-hoe
Adds support for Higher Order Expectations in Higher Order Tests
2021-07-12 11:52:04 +01:00
c160d97428 Forces higher order test callable expects to be closures. 2021-07-11 07:56:02 +01:00
2a8de0565f Adds support for Higher Order Expectations in Higher Order Tests 2021-07-09 16:50:15 +01:00
99ea9f42e5 Allows you to just specify an exception message when calling throws. 2021-07-08 18:32:02 +01:00
6ce678d1c2 Adds an extra test to ensure that skipping takes place before higher order callables. 2021-07-08 17:52:56 +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
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