nw-jtbd-bdd-integration

Solid

Translating JTBD analysis to BDD scenarios - job story to Given-When-Then patterns, forces-based test discovery, job-map-based test discovery, and property-shaped criteria

Testing & QA 526 stars 55 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 92/100

Stars 20%
91
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# JTBD to BDD Integration Use when translating JTBD discoveries (job stories, forces, job map) into testable BDD scenarios. Job stories map naturally to Given-When-Then because both emphasize context (situation/given), action (motivation/when), and outcome (result/then). ## Job Story to Given-When-Then Translation ### The Pattern ``` Job Story: When [situation], I want to [motivation], so I can [outcome]. BDD Scenario: Given [the situation from the job story] When [user takes action aligned with the motivation] Then [the outcome is achieved and measurable] ``` ### Worked Example **Job Story**: "When I receive an alert that a production service is degraded, I want to see the most likely root cause with supporting evidence, so I can begin remediation within minutes instead of hours." ```gherkin Scenario: Root cause surfaced from degradation alert Given the monitoring system has detected degraded response times on the payment service And the degradation started 5 minutes ago When the operator opens the incident dashboard Then the system displays the top 3 probable root causes ranked by likelihood And each root cause includes supporting metrics and log evidence And the most likely root cause is displayed within 10 seconds Scenario: Remediation guidance from identified root cause Given the operator has identified the root cause as database connection pool exhaustion When the operator selects the recommended remediation action Then the system ...

Details

Author
nWave-ai
Repository
nWave-ai/nWave
Created
3 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category