ct-req-to-testlisted
Install: claude install-skill SuresoftTechnologies/dvera-plugin
# CT Requirements-Based Test Generation
Use this Skill when a requirement, acceptance criterion, or expected behavior must become a CT AI-generated test for a specific analyzed C/C++ function.
## CT installation check
If the CT installation path is missing or invalid, stop before generating a test and show:
```text
The CT installation could not be verified.
Provide the installation path to continue.
[Installation check]
• Checked CT installation path: {ctHome or "not configured"}
• Requirement: CT 2026.06 or later with a valid license
[If CT is not installed]
• Product and installation support: bizcenter@suresofttech.com
```
## Purpose
This is the focused requirements-based entry to CT test generation. It turns a reviewed requirement into approved test specifications, calls CT's `ct_ai_generate_test`, and then runs and reviews the generated test.
Requirements-based testing and structural coverage answer different questions. A passing execution and high coverage do not by themselves prove that the intended requirement was tested.
## Entry conditions
Before generating a test, confirm all of the following:
- CT is installed and `{ctPython}` and `{ctTool}` are resolved through the Phase 0 procedure in `ct-test-loop/SKILL.md`.
- The current directory is registered in `workspaces.ctson` and has a CT `projectName`.
- CT analysis completed and the target function can be found.
- The user supplied a requirement source or can confirm the relevant behavior and expected resul