Commit Graph

196 Commits

Author SHA1 Message Date
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
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
Nuno Maduro 3205b571b0 Merge branch 'master' of https://github.com/pestphp/pest 2021-05-14 10:51:54 +01:00
Nuno Maduro 2c4aef5272 release: 1.2.1 2021-05-14 10:51:50 +01:00
Owen Voke ea8ab88056 style: apply fixes from PHPStan 2021-05-14 10:05:16 +01:00
Owen Voke 564a21badd style: apply fixes from php-cs-fixer 2021-05-14 10:00:53 +01:00
Owen Voke 41ce87450f fix: resolve test directory before function call 2021-05-14 09:33:52 +01:00
Nuno Maduro fb0eef4200 release: 1.2.0 2021-05-13 00:37:55 +01:00
Nuno Maduro 819da37b89 Merge pull request #292 from shuvroroy/patch-1
Remove unused import
2021-05-12 21:21:59 +01:00
Nuno Maduro 7bb12b73e8 Merge pull request #288 from gregorip02/master
Ignore the absence of the tests folder
2021-05-11 08:19:14 +01:00
Shuvro Roy b8103697c9 Remove unused import 2021-05-07 12:45:55 +06:00
Nuno Maduro ca3f8b5702 Merge pull request #291 from olivernybroe/feat-junit
Add Junit support
2021-05-05 17:13:58 +01:00
Nuno Maduro daa01ea44b Merge pull request #283 from faustbrian/test-directory-config
make test directory configurable
2021-05-05 11:07:10 +01:00
Brian Faust 26d577f9c5 separate directory and path by / 2021-05-05 05:07:17 +03:00
Gregori Piñeres 43fb711251 Merge branch 'master' into master 2021-05-03 11:47:36 -04:00
Brian Faust 567af55a19 make test directory configurable 2021-05-03 18:28:20 +03:00
Nuno Maduro c6a2e3b4d0 chore: release 1.1.0 2021-05-02 23:41:59 +01:00
Nuno Maduro a10428efe6 Merge pull request #282 from jordanbrauer/reusable-hooks
Reusable hooks
2021-05-02 19:51:59 +01:00
Oliver Nybroe 1440637e41 Add Junit support 2021-05-02 11:22:19 +02:00
Gregori Piñeres d048d60d04 Ignore the absence of the tests folder 2021-04-10 11:51:13 -04:00
jordanbrauer 1b9162151c docs: add some method documentation and fix typo 2021-04-07 11:02:00 -05:00
jordanbrauer 90efcc8a8a feat: add shared/global beforeAll and afterAll hooks 2021-04-07 10:55:19 -05:00
jordanbrauer 7d35ee9998 feat: add new helper to create static closure chains 2021-04-07 10:53:46 -05:00
jordanbrauer f21e45ae64 fix: type declaration for and add small comment RE: merge behaviour 2021-04-07 09:49:53 -05:00
jordanbrauer c7d26a27b6 fix: ensure that Pest is loaded before the test file itself 2021-04-07 09:49:12 -05:00
jordanbrauer 54f9397f47 style: address stan + lint issues 2021-04-06 19:32:49 -05:00
jordanbrauer ff44589572 refactor: pack hooks into an array instead of 1 argument per hook 2021-04-06 19:27:50 -05:00
Owen Voke 6616b6299b docs: update changelog 2021-03-31 16:00:01 +01:00
jordanbrauer 99500d0cae feat: add shared/global before each hook 2021-03-28 02:03:31 -05:00
Andrei Pristavu a6cced6b63 Update PestDuskCommand.php
Add Dusk command argument --browse
2021-03-22 01:16:09 +02:00
Owen Voke 7917313422 docs: update changelog 2021-03-17 13:44:14 +00:00
Nuno Maduro 4b65d2c426 release: v1.0.3 2021-03-13 11:07:57 +00:00
Nuno Maduro 3589f3d5e7 chore: fixes test suite 2021-03-13 11:06:34 +00:00
jordanbrauer 19a1569fa8 cleanup for self-review 2021-02-13 13:31:25 -06:00
jordanbrauer 9a0240bc7b patch addslashes for windows paths 2021-02-13 12:48:43 -06:00
jordanbrauer fe2fac37f8 address PHPStan warning about use of empty 2021-02-13 11:53:30 -06:00
jordanbrauer bb57a54089 simplify quote escape sequence handling 2021-02-13 11:40:08 -06:00
jordanbrauer 5e0bfba7bf run linter 2021-02-13 11:21:14 -06:00
jordanbrauer f6c19e469f in the event of no class name, make one on the fly as an escape hatch 2021-02-13 11:20:16 -06:00
jordanbrauer 13f09cc662 add helper method to generate a simple random string 2021-02-13 11:19:40 -06:00
jordanbrauer 301ff155a4 prevent parse errors by escaping the quote used for filename property 2021-02-13 11:17:52 -06:00
jordanbrauer 40f2065575 catch parse errors and let the user know in a friendlier manner 2021-02-13 11:12:09 -06:00
jordanbrauer be906eb823 remove additional str_replace call in favour of adjusting the relative path regexp 2021-02-13 11:08:08 -06:00