Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Add "Testing in Addons" page to Extending section #1323

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

duncanmcclean
Copy link
Member

This pull request adds a new "Testing in Addons" page to the Extending docs.

I've copied my initial testing docs from #1258 into this page and added additional information like changing config settings in the TestCase, how to use the PreventsSavingStacheItemsToDisk trait and an example GitHub Actions workflow for running tests in CI.

@duncanmcclean duncanmcclean merged commit 0f96ca2 into 5.0 Apr 15, 2024
@duncanmcclean duncanmcclean deleted the 5-addon-testing branch April 15, 2024 15:12
duncanmcclean added a commit that referenced this pull request May 9, 2024
* add upgrade guide

* explain that seeds are removed from shuffle modifier

* [5.x] Document Addon Testing (#1258)

* Addon Testing docs

* Fix tyyo

* [5.x] Remove docs for the Antlers Regex Parser (#1242)

* Remove docs page for legacy Antlers

* Remove links to legacy docs & mention guarded settings

* fill in min php/laravel versions, and recommend upgrading

* please

* nevermind i figured it out

* slugs

* explain how to use temporary file uploads

* Tweak note about supported Laravel versions

* [5.x] Update string based validation rules (#1298)

* link to upgrade guides so we dont have maintain two identical lists

* document rule changes

* explain fake sql queries and how to disable them

* [5.x] Document new `findOrFail` methods on repositories (#1305)

* Tweak wording on "Entry Repository" page

* Document `findOrFail` on other repositories

* Terms repository: Add note about `findOrFail` now we have a `find` example

* bard

* helpers are removed

* SVG tag: The default value for the `sanitize` parameter is now `true`

* [5.x] Multi-site documentation overhaul (#1307)

* sites

* Tweak sites.

* Note on text `direction`.

* [5.x] Upgrade Guide: Add note about pagination view changes (#1312)

Co-authored-by: Jason Varga <jason@pixelfear.com>

* more upgrade guiding

* not anymore

* escaping params

* Move `content/sites.yaml` to `resources/settings/sites.yaml`.

See statamic/cms#9857

* Move `resources/settings/sites.yaml` to `resources/sites.yaml`.

* Update screenshot, since we moved `Sites` into `Settings` section.

* Update `AddonTestCase` import in upgrade guide

* Add "Testing in Addons" page to Extending docs (#1323)

* Add note to upgrade guide about the new `please` file

This will be mostly useful for those upgrading to Laravel 11 using Shift.

* Add note to the upgrade guide about the Laravel Shift discount

* user role stuff

* use async in example

* Add sentence about running Statamic without an internet connection

* you can disable svg tag sanitization

* explain default value behavior change

---------

Co-authored-by: Duncan McClean <duncan@duncanmcclean.com>
Co-authored-by: Jesse Leite <jesseleite@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant