# bpaulraj/feature-test-reverse architecture

> Architecture diagram of the GitHub repository bpaulraj/feature-test-reverse, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-16). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bpaulraj/feature-test-reverse
- Repository: https://github.com/bpaulraj/feature-test-reverse

## Overview

This repository is a workflow tool for converting Cucumber Gherkin scenarios into reviewed, manually executable Azure DevOps test cases. The documented path is plan, agent-assisted wording, build, validation, human review and approval, then push; feature tagging and exported-ID synchronization support later updates. The README describes the script’s responsibilities and command relationships, but no source excerpts were provided, so the graph reflects documented behavior rather than inspected implementation details.

Main entry points: [`.github/scripts/ado_testcases.py`](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py) (Plan and parse), [`.github/agents/gherkin-to-ado.agent.md`](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/agents/gherkin-to-ado.agent.md) (Wording agent), [`.github/instructions/gherkin-functional-test-cases.instructions.md`](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/instructions/gherkin-functional-test-cases.instructions.md) (Conversion rules), [`.github/gherkin-to-ado.config.yml`](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/gherkin-to-ado.config.yml) (Project configuration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Inputs and guidance"]
  node_features["Gherkin features"]
  node_config["Project configuration"]
  node_rules["Conversion rules"]
end

subgraph group_generation["Case generation"]
  node_planner["Plan and parse<br/>[ado_testcases.py]"]
  node_agent["Wording agent"]
  node_builder["Build cases<br/>[ado_testcases.py]"]
  node_validator["Validate cases<br/>[ado_testcases.py]"]
  node_csv["ADO import CSVs<br/>[ado_testcases.py]"]
end

subgraph group_review["Human review"]
  node_reviewer(("Human reviewer"))
  node_review["Review and approval<br/>[ado_testcases.py]"]
end

subgraph group_ado["ADO synchronization"]
  node_push["Push test cases<br/>[ado_testcases.py]"]
  node_ado["Azure DevOps"]
  node_tagger["Tag features<br/>[ado_testcases.py]"]
  node_sync["Sync exported IDs<br/>[ado_testcases.py]"]
end

node_user(("Test maintainer"))

node_user -->|"starts planning"| node_planner
node_planner -->|"parses"| node_features
node_planner -->|"uses settings"| node_config
node_planner -->|"creates templates"| node_agent
node_agent -->|"studies scenarios"| node_features
node_agent -->|"follows rules"| node_rules
node_agent -->|"provides wording"| node_builder
node_builder -->|"applies rules"| node_rules
node_builder -->|"writes cases"| node_csv
node_builder -->|"validates output"| node_validator
node_validator -->|"enables review"| node_review
node_reviewer -->|"approves cases"| node_review
node_review -->|"authorizes upload"| node_push
node_push -->|"uploads cases"| node_ado
node_user -->|"runs tagging"| node_tagger
node_tagger -->|"writes IDs"| node_features
node_user -->|"runs synchronization"| node_sync
node_ado -->|"exports IDs"| node_sync
node_sync -->|"records IDs"| node_features

click node_config "https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/gherkin-to-ado.config.yml"
click node_rules "https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/instructions/gherkin-functional-test-cases.instructions.md"
click node_planner "https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py"
click node_agent "https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/agents/gherkin-to-ado.agent.md"
click node_builder "https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py"
click node_validator "https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py"
click node_csv "https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py"
click node_review "https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py"
click node_push "https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py"
click node_tagger "https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py"
click node_sync "https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_features,node_config,node_rules toneBlue
class node_planner,node_agent,node_builder,node_validator,node_csv toneAmber
class node_reviewer,node_review toneMint
class node_push,node_ado,node_tagger,node_sync toneRose
class node_user toneIndigo
```

## Components

### Inputs and guidance

- **Gherkin features**
- [Project configuration](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/gherkin-to-ado.config.yml): `.github/gherkin-to-ado.config.yml`
- [Conversion rules](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/instructions/gherkin-functional-test-cases.instructions.md): `.github/instructions/gherkin-functional-test-cases.instructions.md`

### Case generation

- [Plan and parse](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py): `.github/scripts/ado_testcases.py`
- [Wording agent](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/agents/gherkin-to-ado.agent.md): `.github/agents/gherkin-to-ado.agent.md`
- [Build cases](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py): `.github/scripts/ado_testcases.py`
- [Validate cases](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py): `.github/scripts/ado_testcases.py`
- [ADO import CSVs](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py): `.github/scripts/ado_testcases.py`

### Human review

- **Human reviewer**
- [Review and approval](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py): `.github/scripts/ado_testcases.py`

### ADO synchronization

- [Push test cases](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py): `.github/scripts/ado_testcases.py`
- **Azure DevOps**
- [Tag features](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py): `.github/scripts/ado_testcases.py`
- [Sync exported IDs](https://github.com/bpaulraj/feature-test-reverse/blob/main/.github/scripts/ado_testcases.py): `.github/scripts/ado_testcases.py`

### Other components

- **Test maintainer**

## Connections

- Test maintainer → Plan and parse: starts planning (evidence: `README.md`)
- Plan and parse → Gherkin features: parses (evidence: `README.md`)
- Plan and parse → Project configuration: uses settings (evidence: `README.md`)
- Plan and parse → Wording agent: creates templates (evidence: `README.md`)
- Wording agent → Gherkin features: studies scenarios (evidence: `README.md`)
- Wording agent → Conversion rules: follows rules (evidence: `README.md`)
- Wording agent → Build cases: provides wording (evidence: `README.md`)
- Build cases → Conversion rules: applies rules (evidence: `README.md`)
- Build cases → ADO import CSVs: writes cases (evidence: `README.md`)
- Build cases → Validate cases: validates output (evidence: `README.md`)
- Validate cases → Review and approval: enables review (evidence: `README.md`)
- Human reviewer → Review and approval: approves cases (evidence: `README.md`)
- Review and approval → Push test cases: authorizes upload (evidence: `README.md`)
- Push test cases → Azure DevOps: uploads cases (evidence: `README.md`)
- Test maintainer → Tag features: runs tagging (evidence: `README.md`)
- Tag features → Gherkin features: writes IDs (evidence: `README.md`)
- Test maintainer → Sync exported IDs: runs synchronization (evidence: `README.md`)
- Azure DevOps → Sync exported IDs: exports IDs (evidence: `README.md`)
- Sync exported IDs → Gherkin features: records IDs (evidence: `README.md`)
