Commit Graph

775 Commits

Author SHA1 Message Date
Daniel Ang 4f386894bd Revert "Use toHaveCount"
This reverts commit 2289adade2.
2021-08-28 18:14:55 +02:00
Daniel Ang 2289adade2 Use toHaveCount
changes to toHaveCount
2021-08-28 17:54:29 +02:00
Daniel Ang 8367af22e7 Adds toHaveLength() Expectation & Tests
Adds toHaveLength() Expectation and its tests. toHaveLength checks if the given value has the informed length. Works with strings, array, object and collections.
2021-08-28 17:02:09 +02:00
Nuno Maduro 4ae482c707 feat: adds support for nunomaduro/collision:^6.0 2021-08-27 22:32:18 +01:00
Nuno Maduro 075c31bc78 release: v1.17.0 v1.17.0 2021-08-26 21:17:03 +01:00
Nuno Maduro 2125bf9668 chore: adjusts tests 2021-08-26 21:14:56 +01:00
Nuno Maduro dbf3c0a8cf Merge pull request #361 from kbond/throw-expectation
Add `toThrow` expectation
2021-08-26 21:02:38 +01:00
Luke Downing eca5f89e59 release: v1.16.0 v1.16.0 2021-08-19 17:07:45 +01:00
Luke Downing 0b0beac122 Script update 2021-08-16 22:12:13 +01:00
luke 578e97123d Changes -P to -p 2021-08-13 22:09:55 +01:00
Nuno Maduro 01d672d563 Merge pull request #369 from pestphp/parallel
Parallel testing support
2021-08-13 16:00:26 +01:00
luke 490b2d66e5 Fix 2021-08-13 13:41:00 +01:00
luke 0368c4846f Adds a composer test:parallel script 2021-08-13 13:40:07 +01:00
luke 4dfc02c5da Refactor 2021-08-13 11:19:03 +01:00
luke 5c84b0c6d3 The getFilenames method now respects only calls. 2021-08-13 11:07:52 +01:00
luke b6c06e8c30 Bugfix 2021-08-13 10:46:07 +01:00
luke c6435d5606 Adds a helpful message for users trying to run parallel without the plugin 2021-08-13 10:44:11 +01:00
luke 2887d212e3 CS fix 2021-08-13 10:30:26 +01:00
luke cadae52d5d Updates snapshots 2021-08-13 10:29:21 +01:00
luke d9749ca65b Adds a method for getting all filenames 2021-08-13 10:26:38 +01:00
luke c2070cd99d Refactor 2021-08-13 10:19:10 +01:00
luke 03d34e9a10 Removes isInParallel 2021-08-13 10:14:01 +01:00
luke 45e76a6df6 Typehint updates 2021-08-13 09:41:45 +01:00
luke 28dd3c2a03 Adds -P as a parallel shortcut 2021-08-13 09:39:56 +01:00
luke 5de981d923 Updates composer.json 2021-08-13 09:12:56 +01:00
Nuno Maduro a55b31e7c3 Update FUNDING.yml 2021-08-12 21:41:42 +01:00
Nuno Maduro 5f0bd8180e Update FUNDING.yml 2021-08-12 21:41:05 +01:00
luke e1f1fcccbe Removes unneeded dependency 2021-08-11 21:25:41 +01:00
luke ab04aef561 Refactors addOutput 2021-08-11 20:59:19 +01:00
luke 79ddb1f58e Composer change 2021-08-11 15:57:49 +01:00
luke c7a2e68941 Fixes a problem with the PhpUnit logger 2021-08-10 14:57:36 +01:00
luke 5c592928d4 Adds a new method, isInParallel, to the Testable trait to allow a test to determine its parallel status. 2021-08-10 14:34:10 +01:00
luke bcab4224fb Skips a test that doesn't support parallel. 2021-08-10 14:24:34 +01:00
luke 892f70b5b5 Refactor 2021-08-10 13:17:11 +01:00
luke 5c7de5ad75 Refactor 2021-08-10 12:04:15 +01:00
luke 995088b522 Refactor 2021-08-10 11:32:43 +01:00
luke ef503646ee Removes parallel classes. 2021-08-10 11:30:48 +01:00
luke a760470e48 Adds Pest output to parallel. 2021-08-09 18:57:20 +01:00
luke 31d1b1b91d Adds a little more spacing above the coverage output. 2021-08-06 15:15:09 +01:00
Luke Downing 7524c80af6 Merge pull request #370 from nuernbergerA/parallel
Parallel additions
2021-08-06 15:04:51 +01:00
Adrian Nürnberger 721d5134b7 replace str_starts_with to support pre php 8.0 2021-08-06 16:00:03 +02:00
Adrian Nürnberger 0b5321fdd7 only check for coverage driver if option is present 2021-08-06 15:48:38 +02:00
Adrian Nürnberger c86058fed1 use support class 2021-08-06 15:39:19 +02:00
Adrian Nürnberger 8b295b5e9d remove debug statements 2021-08-06 15:38:59 +02:00
Adrian Nürnberger 221248e691 introduced argument mapping, added pest coverage 2021-08-06 15:25:28 +02:00
luke 7621247bb7 Adds workflows for parallel 2021-08-05 17:45:50 +01:00
luke 463a50ebd4 Investigating bug fix 2021-08-05 17:39:23 +01:00
luke 62aabc6ae1 Bugfix. The TestCase is now aware of if it is running in parallel or not 😎 2021-08-05 17:09:45 +01:00
luke 1ca9aa5ca6 Further cleanup 2021-08-05 16:43:09 +01:00
luke 7a76f8dce2 Further cleanup 2021-08-05 16:21:06 +01:00