搜索

PythonReactSEOPDF
GitHub Skill

testing-test-writing

Write focused tests for core user flows and critical paths using Pest framework, with minimal tests during development and strategic coverage at completion points. Use this skill when creating or editing test files in tests/Feature/ or tests/Unit/ directories, when writing Pest tests with descriptive names, when testing critical user workflows and business logic, when mocking external dependencies, when implementing fast unit tests, when testing behavior rather than implementation details, or when deciding what needs test coverage at feature completion.

aiskillstore☆ 123 仓库 Stars6 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Testing Test Writing

This Skill provides Claude Code with specific guidance on how to adhere to coding standards as they relate to how it should handle testing test writing.

When to use this skill

  • When creating new test files in tests/Feature/ or tests/Unit/ directories
  • When writing Pest tests with descriptive, clear test names
  • When testing core user workflows and critical business paths
  • When deciding what needs test coverage at feature completion points
  • When mocking external dependencies (databases, APIs, file systems, services)
  • When writing fast-executing unit tests
  • When focusing tests on behavior and outcomes rather than implementation details
  • When using Pest datasets to handle multiple test scenarios efficiently
  • When testing validation rules, business logic, or API endpoints
  • When implementing integration tests for critical features
  • When running tests before committing code changes
  • When skipping tests for non-critical utilities or edge cases (until explicitly required)

Instructions

For details, refer to the information provided in this file: testing test writing

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!