DEV Community

Jovani Brasil
Jovani Brasil

Posted on • Updated on

Visual Gherkin Manager - devlog#1

In this project, the idea is to provide a tool to visually help Gherkin tests management. It will be developed a tool that allows you to model Gherkin test flows using activity diagrams and it will be able to convert this flows to tests specifications.

For this, the first step is to think about how to convert the diagrams to test specification. At first it might be something simple, maybe using a graph representation and an algorithm to traverse the graph to find all possible graph combinations.

The second step is create an React SPA (Simple Page Application) with the basic necessary features. Some components for the first project version

  1. A canvas to model the flows: This "modeler" will be implemented using the Storm React Diagrame that allows to create beautiful and consistent diagrams. It must be possible to generate a diagram like this:

    Sequence diagram with an example of shopping cart flow of an eCommerce website

  2. A text output: I am looking for some already existent solution, one that I really liked was React Gherkin Editor that supports Gherkin style. The ext output must be something like this:

Sequence diagram converted to gherkin

I will work in this project and for the next post, I hope to have at least some results to show.

Top comments (0)