2017 © Pedro Peláez
 

cakephp-plugin behat

Behat Shell

image

wolg/behat

Behat Shell

  • Saturday, December 14, 2013
  • by wolg
  • Repository
  • 6 Watchers
  • 17 Stars
  • 348 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 10 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Behat Shell

Shell for testing CakePHP Application using Behat, (*1)

Installation

Behat Shell is installed use Composer., (*2)

Ensure require is present in composer.json. This will install the plugin to Plugin/Behat. You should also add either behat/mink-goutte-driver or behat/mink-selenium2-driver to your requirements, depending on which one you plan to use with Behat Shell., (*3)

{
    "require": {
        "wolg/behat": "*",
        "phpunit/phpunit": "*",
        "cakephp/cakephp": "2.*",
        "behat/behat": "2.4.*@stable"
    }
}
  • Add the plugin to your app/Config/bootstrap.php using CakePlugin::load('Behat')
  • Run Console/cake Behat.behat install to install plugin
  • Set your application root url into app/Config/behat.yml
  • Run Console/behat -dl to be sure that everything properly loaded

But I don't use Composer?

That's fine, the process is laregly the same. However, instead of downloading Behat Shell using composer, you'll need to unzip or clone this plugin into your app/Plugin/Behat folder. After that, follow the rest of the steps outlined in the previous section. Don't worry about dependencies, we'll download those for you., (*4)

Requirements

  • PHP version: PHP 5.3+
  • CakePHP version: 2.x
  • PHPUnit

Further Reading

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Bitdeli Badge, (*5)

The Versions

14/12 2013

dev-master

9999999-dev https://github.com/Wolg/CakePHP-Behat

Behat Shell

  Sources   Download

MIT

The Requires

 

cakephp behat shell