Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
debug-failing-tests
alizharb/agent-skills
claude-code
testing
pest
phpunit
livewire
debugging
test-fixtures
regression-testing

Use when Pest, PHPUnit, Livewire, browser, or package tests fail and need systematic diagnosis.

Install
php artisan boost:add-skill alizharb/agent-skills

Save this content to: .claude/skills/debug-failing-tests/SKILL.md

# Debug Failing Tests

## Workflow

1. Run the smallest failing test first.
2. Read the failure message, stack trace, and assertion intent.
3. Determine whether the test, fixture, environment, or product code is wrong.
4. Fix the root cause instead of weakening assertions.
5. Add a regression test when the failure exposed an untested behavior.
6. Re-run the targeted test and then the relevant suite.

## Verification

- Targeted test passes.
- Relevant suite passes.

## Common Mistakes

- Re-running the full suite repeatedly before isolating the failure.
- Deleting assertions that describe real behavior.

Debug Failing Tests

Workflow

  1. Run the smallest failing test first.
  2. Read the failure message, stack trace, and assertion intent.
  3. Determine whether the test, fixture, environment, or product code is wrong.
  4. Fix the root cause instead of weakening assertions.
  5. Add a regression test when the failure exposed an untested behavior.
  6. Re-run the targeted test and then the relevant suite.

Verification

  • Targeted test passes.
  • Relevant suite passes.

Common Mistakes

  • Re-running the full suite repeatedly before isolating the failure.
  • Deleting assertions that describe real behavior.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console