Generating the Executable Document for a Gauge Project using Specifications
Generating the executable document in Gauge
Published in
Aug 20, 2017
What is Executable document?
Test developers write scenarios in Markdown language in Gauge. Once they need the scenarios which they have written in automation project in a readable format, they can generate Executable document. It will be the html representation of the specifications.
Steps to generate Executable document
- Go inside the project folder
- Shift Key + Right click and get a command prompt
- Install Gauge spectacles using the following command
gauge install spectacle
- Execute the following command to format the steps in the specification files
gauge format specs
- Execute the following command to create the executable document
gauge docs spectacle specs
- Open “index.html” file in docs\html inside the project
Happy Automation !!!