承接 ralfmaxxx/behat_multidimensional_extension 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ralfmaxxx/behat_multidimensional_extension

最新稳定版本:0.1.2

Composer 安装命令:

composer require ralfmaxxx/behat_multidimensional_extension

包简介

It allows you to create multidimensional TableNode based on dot notation

README 文档

README

Latest Stable VersionTotal Downloads Latest Unstable Version License

Installation

In your behat.yml file just add this:

default:
    extensions:
         TableNode\Extension\NestedTableNodeExtension: ~

From now each TableNode object will be replaced by NestedTableNode instance, which adds one additional method: getNestedHash().

How to use it?

After you install this extension, you can describe your data with dot notation: model.value.something like in this example:

Feature: Something

    Scenario:
        When i do something with article:
            | article.name | author.id |
            | test         | 2         |

And you can take advantage of that in your step definition:

/**
 * @When i do something with article:
 */
public function iDoSomethingWithArticle(NestedTableNode $table)
{
    $table->getNestedHash();
}

Or just you do up to this point:

/**
 * @When i do something with article:
 */
public function iDoSomethingWithArticle(TableNode $table)
{
    /**
    * @var NestedTableNode
    */
    $table->getNestedHash();
}

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: proprietary
  • 更新时间: 2015-08-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固