# docgen_component

> Unit tests for agents/docgen/generate-component.sh (6 tests)

**Type:** test | **Subsystem:** tests | **Location:** `tests/unit/docgen_component.bats`

**Tags:** `docgen`, `component`, `bats`, `unit-test`

## What It Does

Unit tests for agents/docgen/generate-component.sh
Origin: T-942

## Dependencies (2)

| Component | Relationship | Description |
|-----------|--------------|-------------|
| [generate-component](/docs/generated/agents-docgen-generate-component) | calls | Generates component reference documentation from fabric cards |
| [generate-component](/docs/generated/agents-docgen-generate-component) | tests | Generates component reference documentation from fabric cards |

## Related

### Tasks
- T-942: Unit tests for docgen agents — generate-article.sh and generate-component.sh

---
*Auto-generated from Component Fabric. Card: `tests-unit-docgen_component.yaml`*
*Last verified: 2026-04-06*
