Gauge中文文档(5)—语法

最新翻译(2020/12/1)已更新在个人博客:https://www.nothinghere.cn/gauge/overview/

Specification

Spcification name
===========

or

# Specification name

场景

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

or

## Scenario name

标签

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

Tags: login, admin

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

Tags: login-success, admin

Concept

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

or

# Concept Heading

步骤

* Step name

参数

"静态参数"

* Check “product” exists

<动态参数>

* Check <product> exists

|表格参数|

* Step that takes a table
| id | name |
|-----|---------|
| 123 | John |
| 456 | Mcclain |

在步骤名和表格参数之间不允许有空行

特殊参数

< prefix:value >

文件

* Check if < file:/work/content.txt> is visible

表格

Check if the users exist < table:/User/john/work/users.csv>

注释

注释无格式,任何普通的文本行都被当作注释。

I’m a comment!

图片

内联图片语法如下所示:

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

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

图片的路径应该是当前目录的相对路径。

链接

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

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

一、安装
二、快速开始
三、深入开始
四、Gauge使用
五、语法
六、插件
七、语言特点
八、报告
九、配置
十、故障处理
十一、项目实例
十二、怎么做?

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值