dennisdigital/behat-protocol
最新稳定版本:1.0.7
Composer 安装命令:
composer create-project dennisdigital/behat-protocol
包简介
Provides steps to check the scheme used by HTTP resources
README 文档
README
Provides steps to check the scheme used by HTTP resources
Provides the following step definitions
Then the response should not contain internal http urls
Then I should not see any internal http urls in JavaScript
Default behaviour
base_urlwill be checked
Configure in behat.yml
Add DennisDigital\Behat\Protocol\Context\ProtocolContext under Contexts
You can also configure extra internal hosts to check
DennisDigital\Behat\Protocol\Context\ProtocolContext:
parameters:
hosts:
- www.example.com
- images.example.com
- cdn.example.com
Specify headers to be sent with each request
DennisDigital\Behat\Protocol\Context\ProtocolContext:
parameters:
headers:
"X-Forwarded-Proto": https
统计信息
- 总下载量: 10.63k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2018-04-04