2017 © Pedro Peláez
 

behat-extension sitemapextension

Simple behat script to smoke test your Drupal site by using sitemap.xml

image

vijaycs85/sitemapextension

Simple behat script to smoke test your Drupal site by using sitemap.xml

  • Tuesday, May 23, 2017
  • by vijaycs85
  • Repository
  • 2 Watchers
  • 2 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 2 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Behat Sitemap Extension

Synopsis

Behat Sitemap Extension provides a way to smoke/sanity test all site pages by getting the URLs from /sitemap.xml and visiting them to see if we get 200 response., (*1)

Motivation

  • Provide a simple way to start with behat
  • With minimal effort, sanity check all pages.

Installation

Quick start

Clone this repository and then run:, (*2)

export BEHAT_PARAMS='{"extensions":{"Behat\\MinkExtension":{"base_url":"http://localhost"}}}'; bin/behat

Note: Replace http://localhost with your site URL., (*3)

Run for multiple sites

Add a CSV file of site URLs and tags to run with (Only available tag with this extension is "@smoke") and run:, (*4)

./script/run-test.sh

Contributors

Feel free to open an issue or pull request to improve, add new features and bug fixes., (*5)

License

This project is distributed under the terms of the GNU General Public License version 2, (*6)

The Versions

23/05 2017

dev-master

9999999-dev

Simple behat script to smoke test your Drupal site by using sitemap.xml

  Sources   Download

GPL-2.0+

The Development Requires

23/05 2017

1.0.0-beta1

1.0.0.0-beta1

Simple behat script to smoke test your Drupal site by using sitemap.xml

  Sources   Download

GPL-2.0+

The Development Requires