Skip to content

Commit

Permalink
Merge branch 'master' of github.com:pestphp/docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Dec 1, 2024
2 parents 17071be + 9863216 commit a2cad41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion grouping-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion mutation-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions writing-tests.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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)

---

Expand Down

0 comments on commit a2cad41

Please sign in to comment.