2017 © Pedro PelĂĄez
 

library behat_multidimensional_extension

It allows you to create multidimensional TableNode based on dot notation

image

ralfmaxxx/behat_multidimensional_extension

It allows you to create multidimensional TableNode based on dot notation

  • Sunday, August 2, 2015
  • by ralfmaxxx
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Latest Stable VersionTotal Downloads Latest Unstable Version License, (*1)

Installation

In your behat.yml file just add this:, (*2)

default:
    extensions:
         TableNode\Extension\NestedTableNodeExtension: ~

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

How to use it?

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

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:, (*5)

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

Or just you do up to this point:, (*6)

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

The Versions

02/08 2015

dev-master

9999999-dev

It allows you to create multidimensional TableNode based on dot notation

  Sources   Download

proprietary

The Requires

 

The Development Requires

by RafaƂ KaƄski

02/08 2015

0.1.2

0.1.2.0

It allows you to create multidimensional TableNode based on dot notation

  Sources   Download

proprietary

The Requires

 

The Development Requires

by RafaƂ KaƄski

02/08 2015

dev-develop

dev-develop

It allows you to create multidimensional TableNode based on dot notation

  Sources   Download

proprietary

The Requires

 

The Development Requires

by RafaƂ KaƄski

02/08 2015

0.1.1

0.1.1.0

It allows you to create multidimensional TableNode based on dot notation

  Sources   Download

proprietary

The Requires

 

The Development Requires

by RafaƂ KaƄski

02/08 2015

0.1.0

0.1.0.0

It allows you to create multidimensional TableNode

  Sources   Download

proprietary

The Requires

 

The Development Requires

by RafaƂ KaƄski