From cbf1d60c629238ca1863506d4fcf4efc4a920edc Mon Sep 17 00:00:00 2001 From: benjy8001 Date: Sun, 27 Aug 2023 20:40:20 +0200 Subject: [PATCH 1/3] Add Pest tool --- README.md | 1 + resources/test.json | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/README.md b/README.md index 0351b344..e25c297d 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ It has been extracted as a separate project to make maintenance easier and enabl | parallel-lint | [Checks PHP file syntax](https://github.com/php-parallel-lint/PHP-Parallel-Lint) | ✅ | ✅ | ✅ | | paratest | [Parallel testing for PHPUnit](https://github.com/paratestphp/paratest) | ✅ | ✅ | ✅ | | pdepend | [Static Analysis Tool](https://pdepend.org/) | ✅ | ✅ | ✅ | +| pest | [an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP](https://github.com/pestphp/pest) | ✅ | ✅ | ✅ | | phan | [Static Analysis Tool](https://github.com/phan/phan) | ✅ | ✅ | ✅ | | phive | [PHAR Installation and Verification Environment](https://phar.io/) | ✅ | ✅ | ✅ | | php-coupling-detector | [Detects code coupling issues](https://akeneo.github.io/php-coupling-detector/) | ✅ | ✅ | ✅ | diff --git a/resources/test.json b/resources/test.json index e17d64f9..495cd8fe 100644 --- a/resources/test.json +++ b/resources/test.json @@ -54,6 +54,23 @@ "test": "paratest --version", "tags": ["test"] }, + { + "name": "pest", + "summary": "The elegant PHP Testing Framework", + "website": "https://github.com/pestphp/pest", + "command": { + "sh": { + "command": "composer global bin pest config allow-plugins.pestphp/pest-plugin true" + }, + "composer-bin-plugin": { + "package": "pestphp/pest", + "namespace": "pest", + "links": {"%target-dir%/pest": "pest"} + } + }, + "test": "pest -v", + "tags": ["test"] + }, { "name": "phpcov", "summary": "a command-line frontend for the PHP_CodeCoverage library", From 7b2aa4e7fc31368bf747da35865786a162957717 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Wed, 6 Sep 2023 22:05:11 +0100 Subject: [PATCH 2/3] Use a test command for pest that does not fail --- resources/test.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/test.json b/resources/test.json index 495cd8fe..1d762e50 100644 --- a/resources/test.json +++ b/resources/test.json @@ -68,7 +68,7 @@ "links": {"%target-dir%/pest": "pest"} } }, - "test": "pest -v", + "test": "pest --version", "tags": ["test"] }, { From 3c280f56d02f4627db79e907a1aacf7113f87cf8 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Wed, 6 Sep 2023 22:05:54 +0100 Subject: [PATCH 3/3] Update README tools --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e25c297d..b48a9208 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ It has been extracted as a separate project to make maintenance easier and enabl | parallel-lint | [Checks PHP file syntax](https://github.com/php-parallel-lint/PHP-Parallel-Lint) | ✅ | ✅ | ✅ | | paratest | [Parallel testing for PHPUnit](https://github.com/paratestphp/paratest) | ✅ | ✅ | ✅ | | pdepend | [Static Analysis Tool](https://pdepend.org/) | ✅ | ✅ | ✅ | -| pest | [an elegant PHP testing Framework with a focus on simplicity, meticulously designed to bring back the joy of testing in PHP](https://github.com/pestphp/pest) | ✅ | ✅ | ✅ | +| pest | [The elegant PHP Testing Framework](https://github.com/pestphp/pest) | ✅ | ✅ | ✅ | | phan | [Static Analysis Tool](https://github.com/phan/phan) | ✅ | ✅ | ✅ | | phive | [PHAR Installation and Verification Environment](https://phar.io/) | ✅ | ✅ | ✅ | | php-coupling-detector | [Detects code coupling issues](https://akeneo.github.io/php-coupling-detector/) | ✅ | ✅ | ✅ |