Skip to main content

unit-test-starter

Generate starter unit tests for a small function or module. Use when a junior developer needs test scaffolding and edge cases.

Informações da origem

Repositório
proflead/codex-skills-library
Última atividade na origem
12 de janeiro de 2026 às 16:12
Idioma detectado do SKILL.md
inglês
Estrelas
154
Forks
34

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
unit-test-starter
description
Generate starter unit tests for a small function or module. Use when a junior developer needs test scaffolding and edge cases.
# Unit Test Starter ## Purpose Generate starter unit tests for a small function or module. ## Inputs to request - Function signature and expected behavior. - Test framework and language. - Edge cases or error conditions. ## Workflow 1. Identify core behaviors and failure cases from the function signature. 2. Propose table-driven cases with inputs and expected outputs. 3. Highlight one edge case and one negative case. 4. Show how to run the tests. ## Output - Test case list with rationale. - Sample test code snippet for the project test framework. ## Quality bar - Keep tests deterministic and isolated. - Prefer clear assertions over broad snapshots.
Ver no GitHub