From e1c8a0b0bedf20ce974349b17562b3f5b79ca8f7 Mon Sep 17 00:00:00 2001 From: Ted Stresen-Reuter Date: Wed, 3 Mar 2021 16:07:15 +0000 Subject: [PATCH 1/2] Clarify source of Feature tests Add a note to clarify that in addition to adding the source code for Inertia / Livewire, a small suite of Feature tests are also installed in tests/Feature. [Some people may find this confusing or worrisome](https://twitter.com/tedmasterweb/status/1366858366677626888) as it is not common for libraries to include tests in their production distributions (but personally, I'm all for it!) --- 2.x/installation.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/2.x/installation.md b/2.x/installation.md index e061da1..6227b76 100644 --- a/2.x/installation.md +++ b/2.x/installation.md @@ -33,6 +33,8 @@ php artisan jetstream:install inertia php artisan jetstream:install inertia --teams ``` +Both of these commands, in addition to installing the necessary code to make them work, include a suite of Feature tests you are free to use, or discard, as you see fit. Naturally, we recommend you keep them. We are mentioning this here because you may be surprised to find your `tests/Feature` folder populated with about a dozen tests following installation. + ### Finalizing The Installation After installing Jetstream, you should install and build your NPM dependencies and migrate your database: From 5fdfe411dde3e04895fc149ac71f1d3487055359 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 3 Mar 2021 16:04:43 -0600 Subject: [PATCH 2/2] Update installation.md --- 2.x/installation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/2.x/installation.md b/2.x/installation.md index 6227b76..6d6a81c 100644 --- a/2.x/installation.md +++ b/2.x/installation.md @@ -10,7 +10,9 @@ You may use Composer to install Jetstream into your new Laravel project: composer require laravel/jetstream ``` -After installing the Jetstream package, you may execute the `jetstream:install` Artisan command. This command accepts the name of the stack you prefer (`livewire` or `inertia`). In addition, you may use the `--teams` switch to enable team support. **You are highly encouraged to read through the entire documentation of [Livewire](https://laravel-livewire.com) or [Inertia](https://inertiajs.com) before beginning your Jetstream project.** +After installing the Jetstream package, you may execute the `jetstream:install` Artisan command. This command accepts the name of the stack you prefer (`livewire` or `inertia`). In addition, you may use the `--teams` switch to enable team support. The `jetstream:install` command also install a suite of "feature" tests that provide test coverage for the features provided by Jetstream. + +**You are highly encouraged to read through the entire documentation of [Livewire](https://laravel-livewire.com) or [Inertia](https://inertiajs.com) before beginning your Jetstream project.** :::danger New Applications Only @@ -33,8 +35,6 @@ php artisan jetstream:install inertia php artisan jetstream:install inertia --teams ``` -Both of these commands, in addition to installing the necessary code to make them work, include a suite of Feature tests you are free to use, or discard, as you see fit. Naturally, we recommend you keep them. We are mentioning this here because you may be surprised to find your `tests/Feature` folder populated with about a dozen tests following installation. - ### Finalizing The Installation After installing Jetstream, you should install and build your NPM dependencies and migrate your database: