To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaborator获取手机验证码
功能描述:
业务要素:手机号、手机验证码。
"""
业务规则:
1、 手机号必须是11位移动、电信、联通手机号,手机号唯一验证。
2、 手机验证码6位数字。
3、 要素缺失或检查不通过时,系统提示错误信息。
"""
- Background
-
- Scenarios
-
- 手机验证码获取成功
-
- When
- 手机号:17466600001获取验证码
- Then
- 验证码发送成功
- 手机号位数错误,手机验证码获取失败
-
- When
- 手机号:174666000获取验证码
- Then
- 验证码提示错误:手机号位数错误
- 手机号为非数字,手机验证码获取失败
-
- When
- 手机号:abcdefghijk获取验证码
- Then
- 验证码提示错误:手机号为非数字
- 手机号为无效的号码,手机验证码获取失败
-
- When
- 手机号:19200000001获取验证码
- Then
- 验证码提示错误:手机号为无效的号码
- 未输入手机号,手机验证码获取失败
-
- When
- 手机号:空获取验证码
- Then
- 验证码提示错误:未输入手机号
Last published about 7 years ago by dxs.