From 2a63cecf57ae36dedbd64b3de3d4025edf09f72b Mon Sep 17 00:00:00 2001 From: Lance Armah-Abraham Date: Fri, 29 Mar 2024 14:59:31 +0000 Subject: [PATCH] fix: update testing docs with livewire plugin for pest --- packages/actions/docs/09-testing.md | 2 +- packages/forms/docs/09-testing.md | 2 +- packages/infolists/docs/08-testing.md | 2 +- packages/notifications/docs/06-testing.md | 2 +- packages/panels/docs/14-testing.md | 2 +- packages/tables/docs/12-testing.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/actions/docs/09-testing.md b/packages/actions/docs/09-testing.md index 81b46009b8..3c4b5e5efa 100644 --- a/packages/actions/docs/09-testing.md +++ b/packages/actions/docs/09-testing.md @@ -4,7 +4,7 @@ title: Testing ## Overview -All examples in this guide will be written using [Pest](https://pestphp.com). However, you can easily adapt this to a PHPUnit. +All examples in this guide will be written using [Pest](https://pestphp.com). To use Pest's Livewire plugin for testing, you can follow the installation instructions in the Pest documentation on plugins: [Livewire plugin for Pest](https://pestphp.com/docs/plugins#livewire). However, you can easily adapt this to PHPUnit. Since all actions are mounted to a Livewire component, we're just using Livewire testing helpers everywhere. If you've never tested Livewire components before, please read [this guide](https://livewire.laravel.com/docs/testing) from the Livewire docs. diff --git a/packages/forms/docs/09-testing.md b/packages/forms/docs/09-testing.md index 94c77f431f..ef6be5837a 100644 --- a/packages/forms/docs/09-testing.md +++ b/packages/forms/docs/09-testing.md @@ -4,7 +4,7 @@ title: Testing ## Overview -All examples in this guide will be written using [Pest](https://pestphp.com). However, you can easily adapt this to PHPUnit. +All examples in this guide will be written using [Pest](https://pestphp.com). To use Pest's Livewire plugin for testing, you can follow the installation instructions in the Pest documentation on plugins: [Livewire plugin for Pest](https://pestphp.com/docs/plugins#livewire). However, you can easily adapt this to PHPUnit. Since the Form Builder works on Livewire components, you can use the [Livewire testing helpers](https://livewire.laravel.com/docs/testing). However, we have custom testing helpers that you can use with forms: diff --git a/packages/infolists/docs/08-testing.md b/packages/infolists/docs/08-testing.md index 8197d16647..694fe9cdeb 100644 --- a/packages/infolists/docs/08-testing.md +++ b/packages/infolists/docs/08-testing.md @@ -4,7 +4,7 @@ title: Testing ## Overview -All examples in this guide will be written using [Pest](https://pestphp.com). However, you can easily adapt this to PHPUnit. +All examples in this guide will be written using [Pest](https://pestphp.com). To use Pest's Livewire plugin for testing, you can follow the installation instructions in the Pest documentation on plugins: [Livewire plugin for Pest](https://pestphp.com/docs/plugins#livewire). However, you can easily adapt this to PHPUnit. Since the Infolist Builder works on Livewire components, you can use the [Livewire testing helpers](https://livewire.laravel.com/docs/testing). However, we have custom testing helpers that you can use with infolists: diff --git a/packages/notifications/docs/06-testing.md b/packages/notifications/docs/06-testing.md index 8cd1da6685..210ba2227f 100644 --- a/packages/notifications/docs/06-testing.md +++ b/packages/notifications/docs/06-testing.md @@ -4,7 +4,7 @@ title: Testing ## Overview -All examples in this guide will be written using [Pest](https://pestphp.com). However, you can easily adapt this to PHPUnit. +All examples in this guide will be written using [Pest](https://pestphp.com). To use Pest's Livewire plugin for testing, you can follow the installation instructions in the Pest documentation on plugins: [Livewire plugin for Pest](https://pestphp.com/docs/plugins#livewire). However, you can easily adapt this to PHPUnit. ## Testing session notifications diff --git a/packages/panels/docs/14-testing.md b/packages/panels/docs/14-testing.md index 16c95f6dc6..36e89f05a8 100644 --- a/packages/panels/docs/14-testing.md +++ b/packages/panels/docs/14-testing.md @@ -4,7 +4,7 @@ title: Testing ## Overview -All examples in this guide will be written using [Pest](https://pestphp.com). However, you can easily adapt this to a PHPUnit. +All examples in this guide will be written using [Pest](https://pestphp.com). To use Pest's Livewire plugin for testing, you can follow the installation instructions in the Pest documentation on plugins: [Livewire plugin for Pest](https://pestphp.com/docs/plugins#livewire). However, you can easily adapt this to PHPUnit. Since all pages in the app are Livewire components, we're just using Livewire testing helpers everywhere. If you've never tested Livewire components before, please read [this guide](https://livewire.laravel.com/docs/testing) from the Livewire docs. diff --git a/packages/tables/docs/12-testing.md b/packages/tables/docs/12-testing.md index d28b817bde..0b2845d680 100644 --- a/packages/tables/docs/12-testing.md +++ b/packages/tables/docs/12-testing.md @@ -4,7 +4,7 @@ title: Testing ## Overview -All examples in this guide will be written using [Pest](https://pestphp.com). However, you can easily adapt this to PHPUnit. +All examples in this guide will be written using [Pest](https://pestphp.com). To use Pest's Livewire plugin for testing, you can follow the installation instructions in the Pest documentation on plugins: [Livewire plugin for Pest](https://pestphp.com/docs/plugins#livewire). However, you can easily adapt this to PHPUnit. Since the Table Builder works on Livewire components, you can use the [Livewire testing helpers](https://livewire.laravel.com/docs/testing). However, we have many custom testing helpers that you can use for tables: