All Projects → raviqqe → gherkin2markdown

raviqqe / gherkin2markdown

Licence: MIT license
Gherkin to Markdown converter

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to gherkin2markdown

flutter gherkin
A Gherkin parsers and runner for Dart and Flutter which is very similar to cucumber
Stars: ✭ 160 (+566.67%)
Mutual labels:  gherkin, cucumber
White Bread
🍞 Story BDD tool for elixir using gherkin
Stars: ✭ 198 (+725%)
Mutual labels:  gherkin, cucumber
bat
Gherkin based DSL for testing HTTP APIs via Cucumber.JS
Stars: ✭ 30 (+25%)
Mutual labels:  gherkin, cucumber
cucumber-react
React components for Cucumber
Stars: ✭ 15 (-37.5%)
Mutual labels:  gherkin, cucumber
Cabbage
Story BDD tool for executing elixir in ExUnit
Stars: ✭ 102 (+325%)
Mutual labels:  gherkin, cucumber
sonar-gherkin-plugin
SonarQube Cucumber Gherkin Analyzer
Stars: ✭ 33 (+37.5%)
Mutual labels:  gherkin, cucumber
Behat
BDD in PHP
Stars: ✭ 3,696 (+15300%)
Mutual labels:  gherkin, cucumber
Awesome-Cucumber
A collection of awesome Cucumber and Gherkin-related resources
Stars: ✭ 33 (+37.5%)
Mutual labels:  gherkin, cucumber
Radish
Behavior Driven Development tooling for Python. The root from red to green.
Stars: ✭ 153 (+537.5%)
Mutual labels:  gherkin, cucumber
Godog
Cucumber for golang
Stars: ✭ 1,287 (+5262.5%)
Mutual labels:  gherkin, cucumber
CucumberSwift
A lightweight swift Cucumber implementation
Stars: ✭ 40 (+66.67%)
Mutual labels:  gherkin, cucumber
Nightwatch Cucumber
[DEPRECATED] Cucumber.js plugin for Nightwatch.js.
Stars: ✭ 243 (+912.5%)
Mutual labels:  gherkin, cucumber
gavel-spec
Behavior specification for Gavel, validator of HTTP transactions
Stars: ✭ 105 (+337.5%)
Mutual labels:  gherkin, cucumber
gherkin
Pure Rust implementation of Gherkin language (`.feature` file) for Cucumber testing framework.
Stars: ✭ 41 (+70.83%)
Mutual labels:  gherkin, cucumber
karate-runner
VSCode Extension for Karate
Stars: ✭ 23 (-4.17%)
Mutual labels:  gherkin, cucumber
Karate
Test Automation Made Simple
Stars: ✭ 5,497 (+22804.17%)
Mutual labels:  gherkin, cucumber
scenari
Clojure BDD library - Executable Specification with Behavior-Driven Development
Stars: ✭ 57 (+137.5%)
Mutual labels:  gherkin, cucumber
vscode-cucumber
Code snippets to write scenarios faster + Syntax highlight for .feature files
Stars: ✭ 24 (+0%)
Mutual labels:  gherkin, cucumber
Cuke linter
A linting tool for Cucumber
Stars: ✭ 24 (+0%)
Mutual labels:  gherkin, cucumber
Gunit
GUnit - Google.Test/Google.Mock/Cucumber on steroids
Stars: ✭ 156 (+550%)
Mutual labels:  gherkin, cucumber

gherkin2markdown

GitHub Action Codecov Go Report Card License

A command to convert Gherkin files into Markdown.

Installation

go install github.com/raviqqe/gherkin2markdown@latest

Usage

gherkin2markdown <file>

or

gherkin2markdown <srcdir> <destdir>

Example

Given a file named math.feature with:

Feature: Python
  Scenario: Hello, world!
    Given a file named "main.py" with:
    """
    print("Hello, world!")
    """
    When I successfully run `python3 main.py`
    Then the stdout should contain exactly "Hello, world!"

  Scenario Outline: Add numbers
    Given a file named "main.py" with:
    """
    print(<x> + <y>)
    """
    When I successfully run `python3 main.py`
    Then the stdout should contain exactly "<z>"
    Examples:
      | x | y | z |
      | 1 | 2 | 3 |
      | 4 | 5 | 9 |

When I successfully run gherkin2markdown math.feature

Then the stdout should contain exactly:

# Python

## Hello, world!

_Given_ a file named "main.py" with:

```
print("Hello, world!")
```

_When_ I successfully run `python3 main.py`

_Then_ the stdout should contain exactly "Hello, world!".

## Add numbers

_Given_ a file named "main.py" with:

```
print(<x> + <y>)
```

_When_ I successfully run `python3 main.py`

_Then_ the stdout should contain exactly "<z>".

### Examples

| x   | y   | z   |
| --- | --- | --- |
| 1   | 2   | 3   |
| 4   | 5   | 9   |

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].