pest-testing

REVIEW · 61
Registry indexed

Use this skill for Pest PHP testing in Laravel projects only. Trigger whenever any test is being written, edited, fixed, or refactored — including fixing tests that broke after a code change, adding assertions, converting PHPUnit to Pest, adding datasets, and TDD workflows. Alway

Verified installs0
Stars60
Version1.0.0
Quality64/100 · Promising
Trust61/100 · Sandbox only
Audit76/100 · Needs review

Supply asset profile

Coding and developer agents

Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills.

Browse track

Scenario

Testing and QA

I need my agent to test a web app, reproduce bugs, and verify fixes.

Agent fit

Claude Code + Browser agents + CLI

Codex, Claude Code, Cursor, CLI, or custom agents.

Install

Ready

npx skills add promovaweb/specsfy --skill pest-testing

Maintenance

fresh

1d since push

Risk

Needs review

Permission surface may require sandboxing

GitHub quality

60

64/100 Quality · 69/100 Trust

Coverage tags

CodingTesting and QAdata-analysisagent-skill

Review notes

Permission surface may require sandboxing · The SKILL.md references 'search-docs' without clarifying if that is an external tool or agent-provided utility; ambiguous dependency might confuse agents.

Agent adoption scorecard

Trust, audit, and install readiness at a glance

These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.

Quality

Promising
64

Useful candidate, but compare it with alternatives before adopting.

Trust

Sandbox only
61

Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.

Audit

Needs review
76

A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.

OpenAgentSkill Trust Score v5

Human review before install

Run only in a sandbox and compare close alternatives before using it for real work.

CodexClaude CodeCursorOpenAgentSkill CLI

Stars

60 GitHub stars

Repo activity

60 stars, 23 forks

Maintenance

1d since push

License

MIT

Install

npx skills add promovaweb/specsfy --skill pest-testing

Install safety

standard package or runtime install path

Permission surface

secrets or environment access, filesystem or document access

Agent outcomes

No agent outcome data yet

Docs

Strong README/SKILL.md context

Risk summary

Review before production

  • The SKILL.md references 'search-docs' without clarifying if that is an external tool or agent-provided utility; ambiguous dependency might confuse agents.
  • Quality score needs review
  • Permission surface needs review: secrets or environment access, filesystem or document access
  • GitHub adoption: 60 GitHub stars

Install readiness

Install path available

  • Install path is available
  • Repository evidence is available
  • License is declared
  • No Agent Proven outcome evidence yet

Agent-readable metadata

Machine-readable decision data for this skill.

Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.

Open JSON

Suited tasks

  • Testing and QA workflows
  • Claude Code teams
  • builders willing to evaluate younger projects
  • Run test suites

Suited agents

CodexClaude CodeCursorOpenAgentSkill CLIBrowser agentsCLI

Install decision

Command
npx skills add promovaweb/specsfy --skill pest-testing
Policy
review
Human review
yes

Trust and risk

Trust
61/100
Audit
76/100
Risk level
Needs review

Outcome loop

Endpoint
/api/agent/outcome
Event ID
resolve
Outcomes
5

Install command

npx skills add promovaweb/specsfy --skill pest-testing

Do not use when

  • teams that need a vendor-supported SLA
  • production agents without a repository review
  • The SKILL.md references 'search-docs' without clarifying if that is an external tool or agent-provided utility; ambiguous dependency might confuse agents.
  • Permission surface may require sandboxing
  • The 'Visual Regression Testing' section appears truncated in the provided excerpt; ensure the full SKILL.md includes complete instructions or examples.

Agent safety v2

56/100 · Review before install

Experimentalreview

Sparse or mixed signals. Useful for discovery, but not for autonomous installation.

Test manually in an isolated workspace and compare against safer alternatives.

Resolve via API

medium

Browser automation

Skill may drive a browser or interact with web pages.

medium

Network access

Skill likely fetches remote pages, APIs, repositories, or external services.

medium

Filesystem access

Skill may read or write project files, documents, generated artifacts, or local workspace state.

  • Permission surface may require sandboxing

Install targets

Install this skill in your agent workflow

Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.

skill install

OpenAgentSkill CLI

Resolve policy, run the source installer safely, and report a verified install receipt.

$ npx --yes https://github.com/Leon-Drq/openagentskill/releases/download/cli-v0.2.1/openagentskill-0.2.1.tgz install promovaweb-pest-testing

Agent resolve plan

Let an agent verify fit before installing.

The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.

Open text plan

Agent should check

  • Task fit and alternatives from Resolve API.
  • Audit score, trust score, and safety policy warnings.
  • Install target compatibility for Codex, Claude Code, Cursor, or CLI.

Copy prompt

Task: Use pest-testing in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20pest-testing%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/promovaweb-pest-testing/install
Install command: npx skills add promovaweb/specsfy --skill pest-testing
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.

Agent handoff

Give an agent the install path, not another directory page.

Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.

Open install API

Agent prompt

Use pest-testing for this task. Review https://www.openagentskill.com/api/skills/promovaweb-pest-testing/install, then install with: npx skills add promovaweb/specsfy --skill pest-testing

Registry metadata

Agent-readable profile for automatic skill selection.

This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.

Open manifest

Agent fit

66/100

Testing and QA

Platforms

Claude Code, Browser agents

Audit report

Needs review · 76/100

A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.

View audit reportView eval report

Agent decision cockpit

Fallback candidate for Testing and QA

Prototype with this skill first; keep a fallback candidate ready.

66
Readiness
Prototype
Stage

Role in stack

Fallback candidate

Primary fit

Testing and QA

Trust label

Prototype first

Install path

Command ready

Use when

  • Testing and QA workflows
  • Claude Code teams
  • builders willing to evaluate younger projects

Evidence

  • recent repository activity
  • install command or GitHub repo available
  • 64/100 quality profile
  • 10 OpenAgentSkill engagement events

review first

  • The SKILL.md references 'search-docs' without clarifying if that is an external tool or agent-provided utility; ambiguous dependency might confuse agents.

Implementation path

  1. 1Install it in a sandbox agent and run one Testing and QA task end to end.
  2. 2Compare output quality, latency, and failure behavior against at least one alternative.
  3. 3Promote it into production only after reviewing repository permissions, license, and maintenance signals.

Trust profile

Sandbox only

Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.

61
OpenAgentSkill Trust Score

GitHub adoption

CHECK

60 GitHub stars

Stars/forks activity

CHECK

60 stars, 23 forks; issue activity unavailable in current metadata

Recent maintenance

PASS

1d since push

License clarity

PASS

MIT

Good signals

  • AI review approved
  • Install path is available
  • Repository evidence is available
  • Recently maintained repository
  • Install command has no obvious high-risk pattern
  • Outcome loop is ready but needs first real agent run

Review before install

  • The SKILL.md references 'search-docs' without clarifying if that is an external tool or agent-provided utility; ambiguous dependency might confuse agents.
  • Quality score needs review
  • Permission surface needs review: secrets or environment access, filesystem or document access
  • GitHub adoption: 60 GitHub stars
  • Stars/forks activity: 60 stars, 23 forks; issue activity unavailable in current metadata
  • Permission surface: secrets or environment access, filesystem or document access
  • No real agent outcome reports yet
  • Human review required before unattended installation

Recommended action

Run only in a sandbox and compare close alternatives before using it for real work.

Quality profile

Promising candidate for agent workflows

Useful candidate, but compare it with alternatives before adopting.

64
GitHub stars
60
Freshness
1d ago
Install ready
Yes
License
MIT
Review before install: The SKILL.md references 'search-docs' without clarifying if that is an external tool or agent-provided utility; ambiguous dependency might confuse agents.

Workflow fit

Use this skill in these scenarios

Workflow fit

Add it to a complete workflow

Alternative shortlist

Compare before you install

Similar skills that may fit this task.

Compare all

Overview

--- name: pest-testing description: "Use this skill for Pest PHP testing in Laravel projects only. Trigger whenever any test is being written, edited, fixed, or refactored — including fixing tests that broke after a code change, adding assertions, converting PHPUnit to Pest, adding datasets, and TDD workflows. Always activate when the user asks how to write something in Pest, mentions test files or directories (tests/Feature, tests/Unit, tests/Browser), or needs browser testing, smoke testing multiple pages for JS errors, or architecture tests. Covers: test()/it()/expect() syntax, datasets, mocking, browser testing (visit/click/fill), smoke testing, arch(), Livewire component tests, RefreshDatabase, and all Pest 4 features. Do not use for factories, seeders, migrations, controllers, models, or non-test PHP code." license: MIT metadata: author: laravel ---

# Pest Testing 4

## Documentation

Use `search-docs` for detailed Pest 4 patterns and documentation.

## Basic Usage

### Creating Tests

All tests must be written using Pest. Use `php artisan make:test --pest {name}`.

The `{name}` argument should include only the path and test name, but should not include the test suite. - Incorrect: `php artisan make:test --pest Feature/SomeFeatureTest` will generate `tests/Feature/Feature/SomeFeatureTest.php` - Correct: `php artisan make:test --pest SomeControllerTest` will generate `tests/Feature/SomeControllerTest.php` - Incorrect: `php artisan make:test --pest --unit Unit/SomeServiceTest` will generate `tests/Unit/Unit/SomeServiceTest.php` - Correct: `php artisan make:test --pest --unit SomeServiceTest` will generate `tests/Unit/SomeServiceTest.php`

### Test Organization

- Unit/Feature tests: `tests/Feature` and `tests/Unit` directories. - Browser tests: `tests/Browser/` directory. - Do NOT remove tests without approval - these are core application code.

### Basic Test Structure

Pest supports both `test()` and `it()` functions. Before writing new tests, check existing test files in the same directory to match the project's convention. Use `test()` if existing tests use `test()`, or `it()` if they use `it()`.

<!-- Basic Pest Test Example --> ```php it('is true', function () { expect(true)->toBeTrue(); }); ```

### Running Tests

- Run minimal tests with filter before finalizing: `php artisan test --compact --filter=testName`. - Run all tests: `php artisan test --compact`. - Run file: `php artisan test --compact tests/Feature/ExampleTest.php`.

## Assertions

Use specific assertions (`assertSuccessful()`, `assertNotFound()`) instead of `assertStatus()`:

<!-- Pest Response Assertion --> ```php it('returns all', function () { $this->postJson('/api/docs', [])->assertSuccessful(); }); ```

| Use | Instead of | |-----|------------| | `assertSuccessful()` | `assertStatus(200)` | | `assertNotFound()` | `assertStatus(404)` | | `assertForbidden()` | `assertStatus(403)` |

## Mocking

Import mock function before use: `use function Pest\Laravel\mock;`

## Datasets

Use datasets for repetitive tests (validation rules, etc.):

<!-- Pest Dataset Example --> ```php it('has emails', function (string $email) { expect($email)->not->toBeEmpty(); })->with([ 'james' => 'james@laravel.com', 'taylor' => 'taylor@laravel.com', ]); ```

## Pest 4 Features

| Feature | Purpose | |---------|---------| | Browser Testing | Full integration tests in real browsers | | Smoke Testing | Validate multiple pages quickly | | Visual Regression | Compare screenshots for visual changes | | Test Sharding | Parallel CI runs | | Architecture Testing | Enforce code conventions |

### Browser Test Example

Browser tests run in real browsers for full integration testing:

- Browser tests live in `tests/Browser/`. - Use Laravel features like `Event::fake()`, `assertAuthenticated()`, and model factories. - Use `RefreshDatabase` for clean state per test. - Interact with page: click, type, scroll, select, submit, drag-and-drop, touch gestures. - Test on multiple browsers (Chrome, Firefox, Safari) if requested. - Test on different devices/viewports (iPhone 14 Pro, tablets) if requested. - Switch color schemes (light/dark mode) when appropriate. - Take screenshots or pause tests for debugging.

<!-- Pest Browser Test Example --> ```php it('may reset the password', function () { Notification::fake();

$this->actingAs(User::factory()->create());

$page = visit('/sign-in');

$page->assertSee('Sign In') ->assertNoJavaScriptErrors() ->click('Forgot Password?') ->fill('email', 'nuno@laravel.com') ->click('Send Reset Link') ->assertSee('We have emailed your password reset link!');

Notification::assertSent(ResetPassword::class); }); ```

### Smoke Testing

Quickly validate multiple pages have no JavaScript errors:

<!-- Pest Smoke Testing Example --> ```php $pages = visit(['/', '/about', '/contact']);

$pages->assertNoJavaScriptErrors()->assertNoConsoleLogs(); ```

### Visual Regression Testing

Capture and compare screenshots to detect visual changes.

### Test Sharding

Split tests across parallel processes for faster CI runs.

### Architecture Testing

Pest 4 includes architecture testing (from Pest 3):

<!-- Architecture Test Example --> ```php arch('controllers') ->expect('App\Http\Controllers') ->toExtendNothing() ->toHaveSuffix('Controller'); ```

## Common Pitfalls

- Not importing `use function Pest\Laravel\mock;` before using mock - Using `assertStatus(200)` instead of `assertSuccessful()` - Forgetting datasets for repetitive validation tests - Deleting tests without approval - Forgetting `assertNoJavaScriptErrors()` in browser tests - Prefixing `Feature/` or `Unit/` in `{name}` when using `make:test`

Technical details

Version
1.0.0
License
MIT
Last updated
Aug 21, 2026
Published
Aug 21, 2026

Decision snapshot

Fallback candidate

66
Ready
Prototype
Stage

recent repository activity

Audit

Install review

Install and adoption review

76
Needs review
Security
77/100
Maintenance
100/100
Install
92/100
Open full auditView eval report

Agent-proven evidence

Agent-proven evidence

Outcome reports after resolve, review, install, and one narrow run.

0
Proven
Needs first agent runAuto-install: review firstLast: Unknown
Success rate
Recent failure
Outcomes
0
Output quality
Failed
0
Not relevant
0
Installs
0
Risk blocked
0
Setup needed
0
Production
0

No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.

Install

Add to agent workflow

Free and open source. Review the report before installing into production agents.

Growth loop

Share kit

X

Scenario-led draft for pest-testing, ready for a manual X post.

Curator note
A practical pick for a web workflow:

pest-testing: Use this skill for Pest PHP testing in Laravel projects only. Trigger whenever any test is being written, edited, fixed, or...

60 stars

https://www.openagentskill.com/skills/promovaweb-pest-testing?ref=x
Open X draft
Optional reply with install command
Listing + install path for pest-testing:
https://www.openagentskill.com/skills/promovaweb-pest-testing?ref=x

Install: npx skills add promovaweb/specsfy --skill pest-testing

Listing source

Registry indexed

Claimable

This listing was indexed from public sources and is not marked official until a maintainer claim is approved.

Creator
promovaweb
Indexed by
OpenAgentSkill community index

Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.

Claim this skill

Owner claim

Claim this skill listing

This Registry indexed listing is attributed to promovaweb but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.

Creator backlink kit

Add the evidence badges to your README

Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.

[![Listed on OpenAgentSkill](https://www.openagentskill.com/api/badge/promovaweb-pest-testing?metric=listed&label=Listed)](https://www.openagentskill.com/skills/promovaweb-pest-testing)
[![OpenAgentSkill Trust](https://www.openagentskill.com/api/badge/promovaweb-pest-testing?metric=trust&label=Trust)](https://www.openagentskill.com/skills/promovaweb-pest-testing)
[![OpenAgentSkill Audit](https://www.openagentskill.com/api/badge/promovaweb-pest-testing?metric=audit&label=Audit)](https://www.openagentskill.com/skills/promovaweb-pest-testing/audit)
[![Agent Proven](https://www.openagentskill.com/api/badge/promovaweb-pest-testing?metric=proven&label=Agent%20Proven)](https://www.openagentskill.com/skills/promovaweb-pest-testing)

Author

P

promovaweb

@promovaweb

Health signals

GitHub stars
60
Quality score
36/100
Last GitHub push
Aug 21, 2026
Framework hints
Unknown
OpenAgentSkill views
10
Install copies
0
Outbound clicks
0

Community signal

Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.

Trust & safety

Sandbox only

61
  • GitHub adoption60 GitHub starsCHECK
  • Stars/forks activity60 stars, 23 forks; issue activity unavailable in current metadataCHECK
  • Recent maintenance1d since pushPASS
  • License clarityMITPASS
  • README/SKILL.md completenessMetadata includes enough usage and workflow contextPASS
  • Dependency/runtime risknetwork or browser surfacePASS