dennisdigital/behat-references-generator 问题修复 & 功能扩展

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

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

dennisdigital/behat-references-generator

Composer 安装命令:

composer require dennisdigital/behat-references-generator

包简介

Generates non-existing referenced entities when creating content

README 文档

README

Generates non-existing referenced entities when creating content

Installation

  1. composer require dennisdigital/behat-references-generator:dev-master

You might need to add it to repositories first

"repositories": {
    "behat-references-generator": {
      "type": "vcs",
      "url": "git@github.com:dennisinteractive/behat-references-generator.git",
      "no-api": true
    }
.
.
.
  1. Edit behat.yml and add the contexts and configuration following the example in [behat.yml.dist]: https://github.com/dennisinteractive/behat-references-generator/blob/master/behat.yml.dist

Requirements

You need to enable these modules

  • Entity API

For the demo you will need to enable this module:

  • Node Reference Content (Copy from the fixtures folder into the site's modules folder)

Running

  • Go into the tests folder
  • Run ./behat --format=pretty

Failing tests

You can find the screenshots of failing tests on the files/screenshots folder

@todo

  • make field mapping work
  • make default content for image fields work
  • make default content for node fields work
  • make yml overrides for image fields work
  • make yml overrides for content fields work
  • make step definition overrides for image fields work
  • make step definition overrides for content fields work
  • make url aliases work on nodes, terms and images
  • fix php errors when running tests
  • allow to have more than one alias for the same field name
  • support default content for terms
  • support content generation for terms
  • upgrade drupal extension and drupal driver
  • update readme

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固