BDD-Quickstart

Component ID

1702476

Component name

BDD-Quickstart

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Note: this project requires PHP 5.3

Which branch is right for me?

Composer - if you want to develop new step definitions

Pros
  • Allows hinting in IDEs
  • Allows you to examine the code, especially valuable for the Mink Extension

Cons

  • Setting up takes longer
  • Managing dependencies can be finicky
  • Uses more disk space
Phar - if you want to use existing step definitions
Pros
  • Setting up is faster
  • It just works
  • It's smaller

Cons

  • No IDE hinting
  • Not as easy to examine code

Set up instructions:

Composer Branch

  1. Clone this repository
  2. In the repo root, install Composer, a PHP Dependency Manager:
    wget -nc http://getcomposer.org/composer.phar
  3. Run the composer install command:
    php composer.phar install Note: This takes a little while before you start seeing any output.
  4. Copy local.behat.yml.example to local.behat.yml, making sure you're pointed at the base host you intend. You'll use this file to store settings that reflect your local environment, credentials, and other settings which don't belong in the repository.
  5. Run all tests:
    bin/behat

Phar Branch

  1. Clone this repository
  2. Copy local.behat.yml.example to local.behat.yml, making sure you're pointed at the base host you intend. You'll use this file to store settings that reflect your local environment, credentials, and other settings which don't belong in the repository.
  3. Run all tests:
    php behat.phar