Commit Graph

237 Commits

Author SHA1 Message Date
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 11ebe014fb docs: update changelog 2021-06-24 21:44:57 +01:00
luke fbcb492c79 Simplification 2021-06-24 21:40:24 +01:00
luke ff527baa1d Allows and in Higher Order Expectations. 2021-06-24 21:31:12 +01:00
luke 1680613e12 docs: update changelog 2021-06-19 14:42:29 +01:00
luke 22a1aac84a Fixes types 2021-06-18 22:08:47 +01:00
luke 3a20696da4 CS 2021-06-18 22:03:51 +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 27de6106ab Adds type hinting 2021-06-18 22:01:16 +01:00
Nuno Maduro aeded0a356 refacto: coding style updates 2021-06-18 22:01:14 +01:00
luke 4b55de27f1 Adds generics 2021-06-18 21:52:24 +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
luke db9f1254b5 Tags Pest 1.6 2021-06-18 12:30:57 +01:00
Nuno Maduro 4bf69b97bd feat(json): updates docs 2021-06-18 12:06:41 +01:00
Daniel Ang ecb37fce91 Refactoring to use toBeJson()
Refactoring according to @lukeraymonddowning suggestion
2021-06-18 13:04:31 +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
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 579bb1b90c Updates DocBlock type hinting 2021-06-17 00:15:42 +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
Nuno Maduro 729638a3bb release: v1.5.0 2021-06-15 23:06:43 +01:00
Nuno Maduro 8d670b4ed7 refactor: renames traits 2021-06-15 23:05:57 +01: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
Owen Voke 55449c956a feat: move init command out of external plugin 2021-06-15 09:29:33 +01:00
Matias Ibargoyen 1c57de7e36 fixes typos 2021-06-13 11:45:18 +01:00
Nuno Maduro 49de462250 Adds support for incompleted tests 2021-06-10 19:20:16 +01:00
Fabio Ivona 50e9978dc3 Merge branch 'master' into matrix-datasets
# Conflicts:
#	tests/.snapshots/success.txt
2021-06-10 09:01:09 +02:00
luke 17d407a26a Updates changelog 2021-06-07 15:27:33 +01:00
Luke Downing cdc3bd3f45 Merge pull request #308 from titouanmathis/fix/test-key-separator
Fix/test key separator
2021-06-07 15:22:05 +01:00
Owen Voke 4c911cd0eb docs: update changelog 2021-06-07 08:59:27 +01:00
Titouan Mathis c04d6d946d Fix a bug where plugins could not be used in a path containing an @
Fix #307
2021-06-03 14:15:20 +02:00
Fabio Ivona ea0be9e7a4 Refactored Datasets::resolve() to make it more readable 2021-05-27 08:46:38 +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 3117f11fae phpstan fixes
Took 3 minutes
2021-05-24 23:36:51 +02:00
Fabio Ivona 294c41f0dc lint fixes
Took 3 minutes
2021-05-24 23:33:43 +02:00
Fabio Ivona 19a45c856e updates Dataset::resolve to generate a matrix of values from multiple datasets
Took 42 seconds
2021-05-24 23:30:11 +02:00
Fabio Ivona 3b784060b8 updated TestCaseFactory.php to store multiple datasets
Took 44 seconds
2021-05-24 23:29:29 +02:00
Fabio Ivona dd5a11a61f updated TestCall.php to store multiple datasets
Took 1 hour 59 minutes
2021-05-24 23:28:46 +02:00
Nuno Maduro 9133b88d65 release: 1.3.0 2021-05-23 22:06:11 +01:00
Nuno Maduro 6c6bba2a04 tests: updates snapshots 2021-05-23 22:02:06 +01:00
Nuno Maduro dd24b7e347 Merge pull request #300 from pestphp/feat-function_exists
Wrap functions in function_exists
2021-05-23 21:47:25 +01:00
Fabio Ivona 98c62f4b1d show only name for named datasets
Took 4 minutes
2021-05-23 22:16:29 +02:00
Oliver Nybroe dd78cc9a50 Wrap functions in function_exists 2021-05-19 09:47:29 +02:00
Nuno Maduro 9027411004 feat(mock-plugin): moves mock stuff to their own plugin 2021-05-15 23:43:37 +01:00
Nuno Maduro 7023cec432 feat(mock): updates tests 2021-05-15 01:01:46 +01:00
Nuno Maduro c9f723530d feat(mock): adds work in progress 2021-05-14 23:52:24 +01:00