dennisdigital/behat-protocol 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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_url will 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
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 37
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2018-04-04