erbsland-unit-test

Community

Write and run C++ unit tests with Erbsland.

Authorerbsland-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The Erbsland Unit Test Skill provides a cohesive pattern and entry point to define, organize, and execute C++ unit tests using the Erbsland Unit Test framework, reducing setup friction and ensuring consistent conventions across projects.

Core Features & Use Cases

  • Establishes a standard test suite layout, naming conventions (e.g., SomethingTest with testSomething methods), and macros (REQUIRE, CHECK, WITH_CONTEXT, runWithContext) for robust diagnostics.
  • Integrates with CMake using erbsland_unittest targets, enabling centralized test compilation, discovery, and filtered execution by name, target, or tag.
  • Includes documented patterns for modular test design, helper subclasses, and diagnostic output via additionalErrorMessages() to simplify debugging.

Quick Start

Create a new test file named SomethingTest.cpp, include the Erbsland Unit Test header, declare a final test class SomethingTest deriving from UNITTEST_SUBCLASS or el::UnitTest, implement at least one public test method starting with 'test', and run the unittest target.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: erbsland-unit-test
Download link: https://github.com/erbsland-dev/skills/archive/main.zip#erbsland-unit-test

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.