Option C Tools
Loading...
Searching...
No Matches
tests_scaffold.test_with_claude Namespace Reference

Functions

 test_template_bundle_exists ()
 test_copy_claude_skills_populates_project (Path tmp_path)
 test_copy_claude_skills_absent_without_flag (Path tmp_path)

Detailed Description

Purpose
-------
FS-541 regression coverage — ``oct scaffold --with-claude`` copies the
bundled Claude Code skills into ``<project>/.claude/skills/``.

Responsibilities
----------------
- Verify the template bundle directory exists and contains skills.
- Verify ``_copy_claude_skills`` populates ``.claude/skills/`` with
  expected ``SKILL.md`` files.
- Verify skills are absent when ``--with-claude`` is not passed.

Diagnostics
-----------
Domain: SCAFFOLD-TESTS
    Levels:
        L2 — test lifecycle
        L3 — assertion details
        L4 — deep tracing

Contracts
---------
- All scaffold operations write to ``tmp_path``; no real project
  directories are created.

Function Documentation

◆ test_copy_claude_skills_absent_without_flag()

tests_scaffold.test_with_claude.test_copy_claude_skills_absent_without_flag ( Path tmp_path)

Definition at line 57 of file test_with_claude.py.

◆ test_copy_claude_skills_populates_project()

tests_scaffold.test_with_claude.test_copy_claude_skills_populates_project ( Path tmp_path)

Definition at line 46 of file test_with_claude.py.

◆ test_template_bundle_exists()

tests_scaffold.test_with_claude.test_template_bundle_exists ( )

Definition at line 40 of file test_with_claude.py.