From 73a789c31573bf50dd123506fa1f80fba5b25477 Mon Sep 17 00:00:00 2001 From: Carl Casbolt Date: Thu, 24 Oct 2024 16:54:06 +0100 Subject: [PATCH 1/6] Update writing-tests.md phpunit 11.x links should point to 11.4 now --- writing-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writing-tests.md b/writing-tests.md index ba9af2d..261f3d3 100644 --- a/writing-tests.md +++ b/writing-tests.md @@ -98,7 +98,7 @@ test('sum', function () { }); ``` -You can find the full documentation for PHPUnit's assertion API on the PHPUnit website: [docs.phpunit.de/en/11.3/assertions.html](https://docs.phpunit.de/en/11.3/assertions.html) +You can find the full documentation for PHPUnit's assertion API on the PHPUnit website: [docs.phpunit.de/en/11.4/assertions.html](https://docs.phpunit.de/en/11.4/assertions.html) --- From 758a31023cb05df84451f3e4d545d787f8d05a5e Mon Sep 17 00:00:00 2001 From: Carl Casbolt Date: Fri, 25 Oct 2024 09:54:36 +0100 Subject: [PATCH 2/6] Update writing-tests.md Extra `:` at the end of the line was breaking the markdown parser for table layout: Fixes "Error in user YAML: (): mapping values are not allowed in this context" --- writing-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writing-tests.md b/writing-tests.md index 261f3d3..87a6a15 100644 --- a/writing-tests.md +++ b/writing-tests.md @@ -1,6 +1,6 @@ --- title: Writing Tests -description: Next let's get a brief overview of how to write tests using Pest. After successfully installing Pest, you will find the following files and folders in your project: +description: Next let's get a brief overview of how to write tests using Pest. After successfully installing Pest, you will find the following files and folders in your project --- # Writing Tests From 6b635de290996ce005ff2f0db43cf5a3b1182356 Mon Sep 17 00:00:00 2001 From: "Gabriel O. Laureano" <43646296+GabriOliv@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:09:20 -0300 Subject: [PATCH 3/6] fix grouping-tests.md example --- grouping-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grouping-tests.md b/grouping-tests.md index 4599e4a..26ad367 100644 --- a/grouping-tests.md +++ b/grouping-tests.md @@ -41,7 +41,7 @@ If you want to assign a group to a describe block, you can do so by chaining the ```php describe('home', function () { - test('main page', function () + test('main page', function () { // }); })->group('feature'); From 6aad6c94dd50470802ea8609081cc004e559efbc Mon Sep 17 00:00:00 2001 From: Ionut Enache Date: Wed, 20 Nov 2024 10:59:40 +0200 Subject: [PATCH 4/6] Add missing --mutate option to the example provided for the --everything option --- mutation-testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutation-testing.md b/mutation-testing.md index 3d89eaf..312977e 100644 --- a/mutation-testing.md +++ b/mutation-testing.md @@ -204,7 +204,7 @@ Run only the mutation with the given ID. Note, you need to provide the same opti Generate mutations for all your project's classes, bypassing the `covers()` method. This option is very resource-intensive and should be used combined with the `--covered-only` option. ```bash -./vendor/bin/pest --everything --parallel --covered-only +./vendor/bin/pest --mutate --everything --parallel --covered-only ``` Ideally, you would also combine the `--parallel` option to speed up the process. From 33b2f57e5526693505386e20bf71315c3c53d164 Mon Sep 17 00:00:00 2001 From: Pierre Ambroise <74421318+Fan2Shrek@users.noreply.github.com> Date: Mon, 25 Nov 2024 12:52:49 +0100 Subject: [PATCH 5/6] Fix typo in grouping-tests --- grouping-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grouping-tests.md b/grouping-tests.md index 4599e4a..26ad367 100644 --- a/grouping-tests.md +++ b/grouping-tests.md @@ -41,7 +41,7 @@ If you want to assign a group to a describe block, you can do so by chaining the ```php describe('home', function () { - test('main page', function () + test('main page', function () { // }); })->group('feature'); From 7bc5ad98f5d0e0014d09e6a59ebd96f3d453a063 Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Mon, 25 Nov 2024 12:45:37 +0000 Subject: [PATCH 6/6] docs: update description --- writing-tests.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writing-tests.md b/writing-tests.md index 87a6a15..73f7c1e 100644 --- a/writing-tests.md +++ b/writing-tests.md @@ -1,6 +1,6 @@ --- title: Writing Tests -description: Next let's get a brief overview of how to write tests using Pest. After successfully installing Pest, you will find the following files and folders in your project +description: Next let's get a brief overview of how to write tests using Pest. --- # Writing Tests