Skip to main content

testing-patterns

Common testing patterns and practices. This skill is designed to be included in composite skills via the 'includes' feature.

来源信息

仓库
Dicklesworthstone/meta_skill
最近来源活动
2026年1月16日 15:56
检测到的 SKILL.md 语言
英语
星标
205
分支
39

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
id
testing-patterns
name
Testing Patterns
description
Common testing patterns and practices. This skill is designed to be included in composite skills via the 'includes' feature.
tags
["testing","example"]
# Testing Patterns Foundational testing practices applicable across languages and frameworks. ## Rules - Write tests for happy paths and error cases - Test edge cases and boundary conditions - Each test should test one thing - Tests should be deterministic and repeatable - Use descriptive test names that explain the scenario ## Checklist - [ ] Happy path is covered - [ ] Error cases are tested - [ ] Edge cases are identified and tested - [ ] Tests are independent and can run in any order - [ ] Test data is isolated per test - [ ] No flaky tests in the suite ## Pitfalls - Testing implementation details instead of behavior - Not testing error paths - Shared mutable state between tests - Tests that depend on execution order
在 GitHub 查看