All Projects → FriendsOfBehat → Variadicextension

FriendsOfBehat / Variadicextension

Licence: mit
🍺 Extension adding variadic arguments support to Behat steps definitions

Projects that are alternatives of or similar to Variadicextension

Gherkin
Gherkin parser, written in PHP 5.3+ for Behat project
Stars: ✭ 924 (+376.29%)
Mutual labels:  gherkin, behat
Bicing Api
Get statistics and locations of bicycle stations through REST API
Stars: ✭ 149 (-23.2%)
Mutual labels:  gherkin, behat
Behat
BDD in PHP
Stars: ✭ 3,696 (+1805.15%)
Mutual labels:  gherkin, behat
Servicecontainerextension
📻 Allows to declare own services inside Behat container without writing an extension.
Stars: ✭ 114 (-41.24%)
Mutual labels:  gherkin, behat
Symfonyextension
🎼 Extension integrating Behat with Symfony.
Stars: ✭ 376 (+93.81%)
Mutual labels:  gherkin, behat
Suitesettingsextension
📎 Allows to overwrite suites' default settings.
Stars: ✭ 182 (-6.19%)
Mutual labels:  gherkin, behat
Php Ddd Example
🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 5
Stars: ✭ 1,960 (+910.31%)
Mutual labels:  behat
Radish
Behavior Driven Development tooling for Python. The root from red to green.
Stars: ✭ 153 (-21.13%)
Mutual labels:  gherkin
Webapiextension
Behat extension to test web APIs
Stars: ✭ 119 (-38.66%)
Mutual labels:  behat
Friendlycontexts
Some Behat contexts
Stars: ✭ 164 (-15.46%)
Mutual labels:  behat
Apm
Elastic Application Performance Monitoring - resources and general issue tracking for Elastic APM.
Stars: ✭ 151 (-22.16%)
Mutual labels:  gherkin
Rspec Json expectations
Set of matchers and helpers to allow you test your APIs responses like a pro.
Stars: ✭ 115 (-40.72%)
Mutual labels:  gherkin
Specflow
#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
Stars: ✭ 1,827 (+841.75%)
Mutual labels:  gherkin
Ovpnmcgen.rb
An OpenVPN iOS Configuration Profile (.mobileconfig) Utility—Configures OpenVPN for use with VPN-on-Demand that are not exposed through Apple Configurator 2.
Stars: ✭ 154 (-20.62%)
Mutual labels:  gherkin
Xunit.gherkin.quick
BDD in .NET Core - using Xunit and Gherkin (compatible with both .NET Core and .NET)
Stars: ✭ 123 (-36.6%)
Mutual labels:  gherkin
Web
🐲 Next generation frontend for ownCloud X and Infinite Scale
Stars: ✭ 179 (-7.73%)
Mutual labels:  gherkin
Build
BUILD is an open-source, cloud-based and social platform that enables users, even those with no UI development knowledge, to easily create fully interactive prototypes with realistic data, share them with colleagues and consolidate this feedback without writing a line of code.
Stars: ✭ 191 (-1.55%)
Mutual labels:  gherkin
Owasp Cloud Security
OWASP Cloud Security - Enabling conversations through threat and control stories
Stars: ✭ 148 (-23.71%)
Mutual labels:  gherkin
Gunit
GUnit - Google.Test/Google.Mock/Cucumber on steroids
Stars: ✭ 156 (-19.59%)
Mutual labels:  gherkin
Vagrant Exec
Execute commands in Vagrant synced folder
Stars: ✭ 143 (-26.29%)
Mutual labels:  gherkin

Variadic Extension License Version Build Scrutinizer Quality Score

Adds variadic arguments support to Behat steps definitions.

Usage

  1. Install it:

    $ composer require friends-of-behat/variadic-extension --dev
    
  2. Enable it in your Behat configuration:

    # behat.yml
    default:
        # ...
        extensions:
            FriendsOfBehat\VariadicExtension: ~
    
  3. You can use variadic arguments in steps definitions!

    /**
     * @Given the store has( also) :firstProductName and :secondProductName products
     * @Given the store has( also) :firstProductName, :secondProductName and :thirdProductName products
     * @Given the store has( also) :firstProductName, :secondProductName, :thirdProductName and :fourthProductName products
     */
    public function theStoreHasProducts(...$productsNames)
    {
        foreach ($productsNames as $productName) {
            $this->saveProduct($this->createProduct($productName));
        }
    }
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].