2017 © Pedro Peláez
 

project behat-protocol

Provides steps to check the scheme used by HTTP resources

image

dennisdigital/behat-protocol

Provides steps to check the scheme used by HTTP resources

  • Wednesday, June 20, 2018
  • by dennisdigital
  • Repository
  • 10 Watchers
  • 0 Stars
  • 489 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 105 % Grown

The README.md

Behat Protocol

Provides steps to check the scheme used by HTTP resources, (*1)

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, (*2)

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

The Versions

20/06 2018

dev-master

9999999-dev

Provides steps to check the scheme used by HTTP resources

  Sources   Download

GPL-2.0-or-later

The Requires

 

20/06 2018

1.0.7

1.0.7.0

Provides steps to check the scheme used by HTTP resources

  Sources   Download

GPL-2.0-or-later

The Requires

 

19/06 2018

dev-DD-7_skip_404_scripts

dev-DD-7_skip_404_scripts

Provides steps to check the scheme used by HTTP resources

  Sources   Download

GPL-2.0-or-later

The Requires

 

05/04 2018

1.0.6

1.0.6.0

Provides steps to check the scheme used by HTTP resources

  Sources   Download

GPL-2.0-or-later

The Requires

 

04/04 2018

1.0.5

1.0.5.0

Provides steps to check the scheme used by HTTP resources

  Sources   Download

GPL-2.0-or-later

The Requires

 

04/04 2018

1.0.4

1.0.4.0

Provides steps to check the scheme used by HTTP resources

  Sources   Download

GPL-2.0-or-later

The Requires

 

04/04 2018

1.0.2

1.0.2.0

Provides steps to check the scheme used by HTTP resources

  Sources   Download

GPL-2.0-or-later

The Requires

 

29/03 2018

1.0.1

1.0.1.0

Provides steps to check the scheme used by HTTP resources

  Sources   Download

GPL-2.0-or-later

The Requires

 

29/03 2018

1.0.0

1.0.0.0

Provides steps to check the scheme use by HTTP resources

  Sources   Download

GPL-2.0-or-later

The Requires