betterweekdays/upal 问题修复 & 功能扩展

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

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

betterweekdays/upal

最新稳定版本:1.0.3

Composer 安装命令:

composer require betterweekdays/upal

包简介

PHPUnit integeration for Drupal

README 文档

README

A group of classes used to help run tests using PHPUnit in Drupal.

upal assumes that tests are allowed to modify the database.

Usage

Configuration

Configuration can be loaded from array or file (YAML, XML, etc). Uses this config library: https://github.com/hassankhan/config.

Example:

$config = new Upal\Config();
$config->set('drush', '/path/to/drush');
$config->set('drupal_root', '/path/to/drupal/root');

$bootstrap = new Upal\Bootstrap($config);
$bootstrap->setUp();

Config Defaults

  • drush => trim(which drush)
  • root => realpath('.')
  • web_url => 'http://upal'
  • tmp => sys_get_temp_dir()
  • drupal_root => realpath('.')

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 20
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-08-12