一键导入
test-naming-convention
Guidelines for naming test folders and namespaces following the Unit.[Component] convention.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidelines for naming test folders and namespaces following the Unit.[Component] convention.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Mandatory rule requiring a corresponding test file for every business logic file and UI component.
Catalog of all specialized skills used across the FinanzApp project (Frontend & Backend).
Guidelines for clean code, readability, and the "No Comments" policy.
Mandatory rule for EF Core migrations and database updates.
Mandatory rules for automatically updating README.md when creating files or tests.
Guidelines for cross-layer testing (Hooks + UI + Services) using real logic and MSW for network interception.
| name | test-naming-convention |
| description | Guidelines for naming test folders and namespaces following the Unit.[Component] convention. |
To maintain a clean and standardized test suite, all unit tests must follow a specific directory and namespace structure.
Test subdirectories within the Tests/ project must use the Unit. prefix followed by the component name being tested.
Tests/Unit.Services/, Tests/Unit.Data/, Tests/Unit.ApiClient/Tests/Services/, Tests/Data/, Tests/Repositories/The namespace of each test file must mirror the folder structure exactly.
namespace Tests.Unit.[ComponentName];// File: Tests/Unit.Services/AuthServiceTests.cs
namespace Tests.Unit.Services;
[ClassName]Tests.csPersonaService.cs -> PersonaServiceTests.csThe structure inside Tests/Unit.[Category] should mirror the structure of the source project (e.g., matching subfolders for sub-namespaces).