unittest-create

Community

Scaffold C/C++ unittests for CUBRID quickly

Authortw-kang
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generates well-formed C and C++ unit test source files and templates that integrate with the CTP unittest runner, removing ambiguity about binary naming, stdout pass/fail conventions, and CMake integration so developers can add unit tests reliably.

Core Features & Use Cases

  • Template generation: Produces minimal C and C++ unittest templates that include assertion patterns and pass/fail stdout messages required by CTP.
  • CTP conventions & build hints: Enforces binary naming (unittests_<module>), recommends install-to-bin behavior, and provides CMakeLists integration guidance.
  • Verification checklist: Reminds authors to avoid server dependencies, print OK/success on pass and fail on failures, and include a CMake target to ensure discovery by CTP.
  • Use Cases: Scaffolding a new low-level CUBRID unit test, converting a failing repro into a reproducible unittest, or adding a CMake entry for an existing test source file.

Quick Start

Generate a new C/C++ unittest source and CMake entry that produces stdout messages printing OK on success and fail on failures so CTP can judge pass/fail.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: unittest-create
Download link: https://github.com/tw-kang/skills/archive/main.zip#unittest-create

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.