定制 terminus-plugin-project/terminus-wraith-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

terminus-plugin-project/terminus-wraith-plugin

Composer 安装命令:

composer require --dev terminus-plugin-project/terminus-wraith-plugin

包简介

Wraith - A Terminus plugin to assist with visual regression testing of Pantheon site environments.

README 文档

README

CircleCI Terminus v1.x Compatible

Wraith - A Terminus plugin to assist with visual regression testing of Pantheon site environments.

Usage:

$ terminus wraith [--sites site-name.test,site-name.prod --paths home=/,about=/about,news=/news,... --config --spider]

Examples:

Use the previous configuration or prompt for the environments and pages to compare and then generate snapshots:

$ terminus wraith

Prompt for the environments and pages to compare and then generate snapshots:

$ terminus wraith --config

Prompt for new pages to compare the my-site.test and my-site.prod environments and then generate snapshots:

$ terminus wraith --sites my-site.test,my-site.prod

Prompt for new environments to compare the /, /about and /news pages and then generate snapshots:

$ terminus wraith --paths home=/,about=/about,news=/news

Use the previous configuration or prompt for new environments, crawl to detect pages and then generate snapshots:

$ terminus wraith --spider

Installation:

For installation help, see Extend with Plugins.

mkdir -p ~/.terminus/plugins
composer create-project -d ~/.terminus/plugins terminus-plugin-project/terminus-wraith-plugin:~1

Configuration:

Install Wraith for your operating system. See http://bbc-news.github.io/wraith/os-install.html.

Testing:

Replace my-site.test and my-site.prod with the site environments you want to test:

export TERMINUS_SOURCE_SITE_ENV=my-site.test
export TERMINUS_TARGET_SITE_ENV=my-site.prod
cd ~/.terminus/plugins/terminus-wraith-plugin
composer install
composer test

Help:

Run terminus help wraith for help.

统计信息

  • 总下载量: 35
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-04-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固