03-unit-testing by TencentBlueKing

单元测试编写指南,涵盖 JUnit5/MockK 使用、测试命名规范、Mock 技巧、测试覆盖率要求、TDD 实践。当用户编写单元测试、Mock 依赖、提高测试覆盖率或进行测试驱动开发时使用。

Coding
2.5K Stars
514 Forks
Updated Jan 9, 2026, 09:52 AM

Why Use This

This skill provides specialized capabilities for TencentBlueKing's codebase.

Use Cases

  • Developing new features in the TencentBlueKing repository
  • Refactoring existing code to follow TencentBlueKing standards
  • Understanding and working with TencentBlueKing's codebase structure

Install Guide

2 steps
  1. 1

    Download Ananke

    Skip this step if Ananke is already installed.

  2. 2

    Install inside Ananke

    Click Install Skill, paste the link below, then press Install.

    https://github.com/TencentBlueKing/bk-ci/tree/master/ai/skills/03-unit-testing

Skill Snapshot

Auto scan of skill assets. Informational only.

Valid SKILL.md

Checks against SKILL.md specification

Source & Community

Repository bk-ci
Skill Version
master
Community
2.5K 514
Updated At Jan 9, 2026, 09:52 AM

Skill Stats

SKILL.md 285 Lines
Total Files 1
Total Size 0 B
License NOASSERTION