Skill

zinc-unittest

by Crainax

AI Summary

Provides a standardized workflow for creating and maintaining unit tests for Jass modules in War3Lib using Zinc, covering file structure, test generation, assertion patterns, and validation. Essential for developers building or refactoring Jass libraries who need reproducible, maintainable test suites.

Description

War3Lib 的 Zinc 单元测试流程规范(.j + .cfg + _Test.j + 可选 w3a/w3u/w3i):使用 TaskCreateUT.lua 生成测试壳、维护 cfg 注入与 chain 依赖、使用 UnitTestFramwork.assert 断言与 Trace 日志输出。用于创建/重构 Jass 模块单测时。

Install

# Add to your project root as SKILL.md
curl -o SKILL.md "https://raw.githubusercontent.com/Crainax/War3Lib/master/.codex/skills/zinc-unittest/SKILL.md"

Tags

Quality Score

C

Acceptable

74/100

Standard Compliance75
Documentation Quality72
Usefulness78
Maintenance Signal100
Community Signal44
Scored Yesterday

GitHub Signals

Stars8
Forks3
Issues0
UpdatedYesterday
View on GitHub

Trust & Transparency

Open Source — Apache-2.0

Source code publicly auditable

Verified Open Source

Hosted on GitHub — publicly auditable

Actively Maintained

Last commit Yesterday

8 stars

3 forks

My Fox Den

Community Rating

Works With

Claude Code