From 0368c4846f5637f46966a6f638ce8a42d6aea050 Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 13 Aug 2021 13:40:07 +0100 Subject: [PATCH] Adds a `composer test:parallel` script --- composer.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4b815b45..3309bcf3 100644 --- a/composer.json +++ b/composer.json @@ -60,12 +60,14 @@ "test:lint": "php-cs-fixer fix -v --dry-run", "test:types": "phpstan analyse --ansi --memory-limit=-1", "test:unit": "php bin/pest --colors=always --exclude-group=integration", + "test:parallel": "php bin/pest -P --colors=always --exclude-group=integration", "test:integration": "php bin/pest --colors=always --group=integration", "update:snapshots": "REBUILD_SNAPSHOTS=true php bin/pest --colors=always", "test": [ "@test:lint", "@test:types", "@test:unit", + "@test:parallel", "@test:integration" ] }, @@ -85,5 +87,11 @@ "Pest\\Laravel\\PestServiceProvider" ] } - } + }, + "repositories": [ + { + "type": "path", + "url": "../pest-plugin-parallel" + } + ] }