Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Laravel tests with Pest 4 or PHPUnit 12 v1.0.0

Use this resource to write Laravel 13 tests with Pest or PHPUnit

New

  • 364 downloads
  • 101 likes
  • 138 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install laravel-testing-pest-phpunit

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent first detects the testing framework from composer.json and tests/Pest.php, and asks you if it stays unclear. It then writes HTTP and unit tests, factories, database assertions and authentication tests. You get tests matched to your framework.

Mostly picked by

Updated November 2, 2026

Card for the “Laravel tests with Pest 4 or PHPUnit 12” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • AGENTS.md: Pest or PHPUnit detection and syntax reference
  • rules/: rules on authentication, database assertions and factories

Good fit for

  • You write tests for a Laravel 13 application
  • Your factories and assertions differ from one test to another

Not for

    Tags

    • laravel
    • pest
    • phpunit
    • tests

    About

    You say

    “Write the tests for the order creation route with an authenticated user.”

    Card for the “Laravel tests with Pest 4 or PHPUnit 12” skill

    Skill published by asyrafhussin under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to write Laravel 13 tests with Pest or PHPUnit
    3. Review and adjust the result

    Content preview

    Files

    • AGENTS.md36.9 KB
    • LICENSE1.1 KB
    • metadata.json3.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • README.md3 KB
    • rules/auth-acting-as.md3.4 KB
    • rules/auth-sanctum.md3.7 KB
    • rules/db-assert-has.md3.5 KB
    • rules/db-assert-missing.md3.3 KB
    • rules/db-assert-soft-deletes.md3.5 KB
    • rules/factory-define.md3.5 KB
    • rules/factory-relationships.md4 KB
    • rules/factory-sequences.md3.6 KB
    • rules/factory-states.md3.7 KB
    • rules/fake-ai-agent.md3 KB
    • rules/fake-ai-data.md3.4 KB
    • rules/fake-ai-media.md3.2 KB
    • rules/fake-event.md4.2 KB
    • rules/fake-mail.md4.9 KB
    • rules/fake-notification.md4.6 KB
    • rules/fake-queue.md4.2 KB
    • rules/fake-storage.md4.4 KB
    • rules/http-assert-json-fluent.md4 KB
    • rules/http-assert-response.md4 KB
    • rules/http-refresh-database.md4.7 KB
    • rules/http-test-structure.md4.3 KB
    • rules/pest-datasets.md5.2 KB
    • rules/pest-describe-it.md6.2 KB
    • rules/pest-hooks.md6.5 KB
    • SKILL.md7.3 KB

    Origin and licence

    Listed unmodified

    Author
    asyrafhussin
    Source
    github.com/asyrafhussin/agent-skills/tree/1aa0ff717c10309226c9e678f00873976450fd76/skills/laravel-testing
    Licence
    MIT

    Notice

    « laravel-testing » (asyrafhussin, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.