vijaycs85/sitemapextension
Composer 安装命令:
composer require vijaycs85/sitemapextension
包简介
Simple behat script to smoke test your Drupal site by using sitemap.xml
README 文档
README
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.
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:
export BEHAT_PARAMS='{"extensions":{"Behat\\MinkExtension":{"base_url":"http://localhost"}}}'; bin/behat
Note: Replace
http://localhostwith your site URL.
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:
./script/run-test.sh
Contributors
Feel free to open an issue or pull request to improve, add new features and bug fixes.
License
This project is distributed under the terms of the GNU General Public License version 2
统计信息
- 总下载量: 28
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2017-09-19