home/categories/testing/moonpixels-laravel-skeleton-react-opencode-skill-writing-unit-tests-skill-md
testingtesting-security

writing-unit-tests

Write unit tests for isolated business logic, Actions, DTOs, Services, and domain code using Pest v4. SUPPLEMENTARY to feature tests - use for complex, concentrated areas of the codebase that benefit from focused isolated testing. Feature tests should be your primary approach.

moonpixels
maintainer
moonpixels
更新于 1/10/2026
星标
1
分支
0
quick start

Installation and usage

Write unit tests for isolated business logic, Actions, DTOs, Services, and domain code using Pest v4. SUPPLEMENTARY to feature tests - use for complex, concentrated areas of the codebase that benefit from focused isolated testing. Feature tests should be your primary approach.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use writing-unit-tests