Commit Graph

188 Commits

Author SHA1 Message Date
jordanbrauer 00b4bb6305 Merge branch 'master' into fix-missing-dataset-errors 2021-07-21 21:26:33 -05:00
luke 4c8c42cd20 Refactor 2021-07-21 08:47:55 +01:00
luke 09682dd393 Alters test to prove order doesn't matter 2021-07-21 08:16:54 +01:00
luke 3bdba9210d Adds another test 2021-07-21 07:44:05 +01:00
luke 371620d161 Adds support for receiving datasets in higher order tests 2021-07-21 07:40:19 +01:00
Luke Downing 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
luke c160d97428 Forces higher order test callable expects to be closures. 2021-07-11 07:56:02 +01:00
luke 2a8de0565f Adds support for Higher Order Expectations in Higher Order Tests 2021-07-09 16:50:15 +01:00
luke 99ea9f42e5 Allows you to just specify an exception message when calling throws. 2021-07-08 18:32:02 +01:00
luke 6ce678d1c2 Adds an extra test to ensure that skipping takes place before higher order callables. 2021-07-08 17:52:56 +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
Jordan Brauer dc75b34deb refactor: move logic into boolean method in TestCaseFactory 2021-06-30 09:51:49 -05:00
Jordan Brauer 8e22803797 Merge branch 'master' into fix-missing-dataset-errors 2021-06-30 09:04:20 -05:00
luke f2e56da2da Updates snapshots 2021-06-24 22:58:29 +01:00
luke e6b258534a Merge branch 'master' into higher-order-tap-and-defer
# Conflicts:
#	tests/.snapshots/success.txt
2021-06-24 22:57:48 +01:00
luke acef002a2d Adds tap for Higher Order tests 2021-06-24 22:57:26 +01:00
luke 4f67eff619 Start of work 2021-06-24 21:38:02 +01:00
luke 3c2c767e09 Updates snapshot 2021-06-24 21:35:16 +01:00
luke ff527baa1d Allows and in Higher Order Expectations. 2021-06-24 21:31:12 +01:00
Jordan Brauer 82bd836ae9 Merge branch 'master' into fix-missing-dataset-errors 2021-06-21 19:50:15 -05:00
luke 99bcf98617 Rebuilds snapshots 2021-06-18 22:03:01 +01:00
luke 09d9bae988 Merge branch 'master' into nested-higher-order-expectations
# Conflicts:
#	tests/.snapshots/success.txt
2021-06-18 22:01:30 +01:00
luke 3d7b6426a1 Updates snapshots 2021-06-18 21:49:38 +01:00
luke 1d415eb7fb Merge branch 'master' into nested-higher-order-expectations
# Conflicts:
#	tests/.snapshots/success.txt
2021-06-18 21:49:05 +01:00
luke 8a384a6d65 Merge fixes 2021-06-18 21:46:57 +01:00
luke 7c4dd2f2e7 Merge branch 'master' into non-callable-sequence
# Conflicts:
#	tests/.snapshots/success.txt
2021-06-18 21:45:02 +01:00
Daniel Ang 3afdedbd3f Snapshots 2021-06-18 13:11:37 +02:00
Daniel Ang c1b27579ca Method json() to parse JSON strings
- Parse a JSON string into array
- Test
2021-06-18 12:43:17 +02:00
jordanbrauer e64856c664 test: use throws method instead of assert 2021-06-17 13:33:11 -05:00
jordanbrauer de86598c0d Merge branch 'master' into fix-missing-dataset-errors 2021-06-16 21:36:42 -05:00
luke d96a2485b6 Updates snapshot 2021-06-17 00:18:12 +01:00
luke 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
luke 7ff64540a6 Adds nested Higher Order Expectations. 2021-06-16 20:48:23 +01:00
luke 241d4cf94c Reimplements non-callable sequence values. 2021-06-16 20:34:17 +01:00
luke a5ce2dc1a1 Reimplements the new toHaveArray features. 2021-06-16 20:27:36 +01:00
jordanbrauer e21e3080e0 test: add new exception check & update snapshots 2021-06-16 14:04:50 -05:00
Owen Voke c07cd8c252 feat: move Expectations API out of external plugin 2021-06-15 17:10:21 +01:00
Owen Voke ea696f819e feat: move Coverage out of external plugin 2021-06-15 14:26:57 +01:00
Nuno Maduro dd2921fd26 tests: fixes snapshots 2021-06-10 19:26:42 +01:00
Nuno Maduro 49de462250 Adds support for incompleted tests 2021-06-10 19:20:16 +01:00
Nuno Maduro 95e8add29b Merge pull request #303 from def-studio/matrix-datasets
Matrix datasets
2021-06-10 18:43:31 +01:00
Nuno Maduro b682fe631d chore: bumps expectation plugin 2021-06-10 18:40:38 +01:00
Fabio Ivona d32a648af5 updated test snapshots after merge from master 2021-06-10 09:03:32 +02:00
Fabio Ivona 50e9978dc3 Merge branch 'master' into matrix-datasets
# Conflicts:
#	tests/.snapshots/success.txt
2021-06-10 09:01:09 +02:00
Titouan Mathis 95b4192c0d Fix visual success test 2021-06-07 10:40:11 +02:00
Titouan Mathis 574cd11a40 Add tests 2021-06-04 02:08:12 +02:00
Fabio Ivona 838ac273ab writed tests with multiple datasets
Took 1 hour 6 minutes
2021-05-25 23:56:46 +02:00
Fabio Ivona 296e1c37e8 updates snapshots
Took 7 minutes
2021-05-24 23:43:53 +02:00