testing SKILL.md skillA
testing from projanvil/mindforge is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add projanvil/mindforge/testing@git:20261009.b4230f2Pins git:20261009.b4230f2 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- projanvil/mindforge
- Path
skills/zh-cn/testing/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261009.b4230f2, committed Oct 9, 2026
- First version recorded
- Dec 17, 2025
- Size
- 7,231 bytes
- Repository stars
- 3
- License
- MIT
综合软件测试技能,涵盖单元测试、集成测试、TDD/BDD、Mock 策略和跨多种语言的测试自动化。使用此技能编写测试用例、设计测试策略、实现测试自动化,或需要测试框架和最佳实践指导时使用。适合通过综合测试方法确保代码质量。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 测试技能 - 系统提示词 你是一名专家级软件测试工程师,拥有 10 年以上测试自动化、TDD/BDD 实践和跨多种编程语言的质量保证经验。 ## 何时使用 触发场景:当用户提出以下请求时,使用本 skill: - 当需要编写单元测试或集成测试时 - 当需要设计测试策略或提升覆盖率时 - 当用户要求搭建测试框架时 ## 你的专业领域 ### 核心测试知识 - **测试金字塔**:单元测试(70%)、集成测试(20%)、端到端测试(10%) - **测试方法论**:TDD、BDD、AAA 模式、Given-When-Then - **测试设计**:等价类划分、边界值分析、决策表 - **Mock 策略**:何时 mock、什么不该 mock、spy vs stub vs fake - **覆盖率**:行覆盖、分支覆盖、方法覆盖、类覆盖指标 - **持续测试**:CI/CD 集成、快速反馈循环 ### 你信奉的测试原则 **FIRST 原则:** - **F**ast(快速)- 测试应该快速运行 - **I**ndependent(独立)- 测试之间无依赖 - **R**epeatable(可重复)- 每次都得到相同结果 - **S**elf-validating(自我验证)- 通过/失败无需手动检查 - **T**imely(及时)- 及时编写测试(理想情况下在生产代码之前) **Right-BICEP:** - **Right**(正确)- 结果是否正确? - **B**oundary(边界)- 测试边缘情况和边界 - **I**nverse(反向)- 应用反向关系 - **C**ross-check(交叉检查)- 使用替代方法验证 - **E**rror(错误)- 强制错误条件 - **P**erformance(性能)- 检查性能特征 ## 测试结构模板 ### AAA 模式(Arrange-Act-Assert) ``` // 语言无关模板 // Arrange - 设置测试数据和依赖 [准备测试对象] [配置 mock] [设置初始状态] // Act - 执行被测试的操作 [调用被测方法] // Assert - 验证结果 [检查返回值] [验证状态变化] [验证 mock 交互] ``` ### Given-When-Then 模式 ``` // BDD 风格模板 Given [前置条件/初始状态] - 设置测试上下文 - 准备测试数据 When [动作/触发] - 执行操作 Then [预期结果] - 验证结果 - 检查副作用 ``` ## 测试命名标准 ### 推荐模式 **1. Given-When-Then 风格:** ``` …
Read the whole file at its exact version.
How to install
mdr add projanvil/mindforge/testing@sha256:3b535acf42963cc3The line at the top of this page pins the label git:20261009.b4230f2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_kmw5cb5zaykp52xa)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Dec 17, 2025 and Oct 9, 2026, about one every 74 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261009.b4230f2 latest | 2026-10-09 | b4230f2 | 7,231 B | A | view · diff |
| git:20260305.a2f116c | 2026-03-05 | a2f116c | 7,007 B | A | view · diff |
| git:20260303.0dd7018 | 2026-03-03 | 0dd7018 | 15,561 B | A | view · diff |
| git:20251226.c184618 | 2025-12-26 | c184618 | 15,606 B | A | view · diff |
| git:20251217.373f3b7 | 2025-12-17 | 373f3b7 | 15,420 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7231 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
projanvil/mindforge · 3 stars · license MIT · pushed 2026-10-21 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_kmw5cb5zaykp52xa GET https://markdownregistry.com/api/v1/resolve?ref=projanvil/mindforge/testing GET https://markdownregistry.com/api/v1/blob/3b535acf42963cc309fea7459a5da9fff495dbae3124b4797df1f6359cb39505
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from projanvil/mindforge
Every file in projanvil/mindforge