Skip to content

Latest commit

 

History

History
154 lines (87 loc) · 2.07 KB

syntax.rst

File metadata and controls

154 lines (87 loc) · 2.07 KB

Syntax

Specification

Specification name
==================

or

# Specification name

Scenario

Scenario name
-------------

or

## Scenario name

Tags

Specification Level
===================

Tags: login, admin


Scenario Level
--------------

Tags: login-success, admin

Concept

Concept Heading
===============

or

# Concept Heading

Steps

* Step Name

Parameters

* Check "product" exists
* Check <product> exists
* Step that takes a table
   | id  | name    |
   |-----|---------|
   | 123 | John    |
   | 456 | Mcclain |

There should be no empty lines between step name and table parameter.

Special Parameters

<prefix:value>
* Check if <file:/work/content.txt> is visible
* Check if the users exist <table:/Users/john/work/users.csv>

Comments

Comment has no syntax. Any normal line of text is treated as comment.

Im a comment!!!

Images

Inline image syntax looks like this:

![Alt text](/path/to/img.jpg)

![Alt text](/path/to/img.jpg "Optional title")

The path to image file should be relative to current directory.

Links

This is [an example](http://getgauge.io "Title") inline link.

[This link](http://github.com/getgauge/gauge) has no title attribute.