소스 정보
- 저장소
- NeuralBlitz/Mito
- 최근 소스 활동
- 2026년 3월 22일 13:29
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- bdd
- description
- Behavior-Driven Development with Gherkin, Cucumber, and executable specifications
- license
- MIT
- compatibility
- opencode
- metadata
- {"audience":"developers","category":"software-development"}
## What I do
- Write BDD scenarios in Gherkin syntax
- Create executable specifications
- Implement step definitions
- Test behavior over implementation
- Bridge technical and business communication
## When to use me
When practicing BDD, creating living documentation, or improving team communication.
## Gherkin Syntax
### Core Keywords
```gherkin
Feature: Search functionality
As a user
I want to search for products
So that I can find what I'm looking for
Scenario: Successful search
Given I am on the search page
When I enter "laptop" in the search box
And I click the search button
Then I should see search results
And the results should contain "laptop"
Scenario: No results found
Given I am on the search page
When I enter "xyz123" in the search box
And I click the search button
Then I should see "No results found"
```
### Gherkin Keywords
- **Feature**: High-level description
- **Background**: Preconditions for all scenarios
- **Scenario**: Individual test case
- **Scenario Outline**: Parametrized scenarios with Examples
- **Given**: Preconditions
- **When**: Actions/events
- **Then**: Expected outcomes
- **And/But**: Continue previous step
- **DocString**: Multi-line text
- **DataTable**: Structured data
### Scenario Outline Example
```gherkin
Scenario Outline: Add items to cart
Given the product "<product>" costs "<price>"
When I add it to cart
Then my cart total should be "<total>"
Examples:
| product | price | total |
| Laptop | 1000 | 1000 |
| Mouse | 50 | 1050 |
```
## BDD Best Practices
### Writing Scenarios
- Focus on behavior, not UI
- Use business language
- One assertion per scenario
- Independent scenarios
- Meaningful step definitions
### Step Definitions
- Reusable steps
- Parameterization
- Helper methods
- Assertions
### Tools
- **Cucumber**: Ruby, JS, Java, .NET
- **Behave**: Python
- **SpecFlow**: .NET
- **JBehave**: Java
### Integration
- CI/CD pipeline integration
- Living documentation
- Reporting
- Tags for organization
GitHub에서 보기