Test design policy

From babyworm/rtl-agent-team · View interactive version

Test design policy is an AI agent skill from the GitHub repository babyworm/rtl-agent-team. Internal reference: test design policy (agent-loaded; do not invoke).

How to use this skill

Skill file

RTL Test Case Design Policy

Purpose

Codifies systematic test case design techniques for deriving test vectors from specifications.

Referenced by testbench-dev and verification orchestrators.

Equivalence Class Partitioning (ECP)

For each input signal:

Boundary Value Analysis (BVA)

For each integer input of width W:

State Transition Testing

For each FSM defined in uarch spec:

Decision Table Testing

For modules with >=3 boolean control inputs:

Corner Case Categories (by module type)

Datapath modules

FSM/Control modules

Interface modules (valid/ready)

Test Vector Derivation Workflow

  1. Read uarch spec + io_definition.json
  2. For each input: apply ECP -> list equivalence classes
  3. For each integer input: apply BVA -> list boundary values
  4. For each FSM: extract state transition matrix
  5. For modules with >=3 boolean controls: build decision table
  6. Merge results into unified test plan with coverage mapping
  7. Prioritize: boundary values + state transitions first, then ECP representatives

Anti-Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.