vijaycs85/behat-starter

Behat 3.0 starter

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Language:Cucumber

Type:behat-sample

dev-master 2016-05-13 04:05 UTC

This package is auto-updated.

Last update: 2020-03-25 22:39:34 UTC


README

Starter pack is a simple bootstrap to help begin your project with Behat 3.

Installation

  • Create your project by typing the following command:
    composer create-project vijayc85/behat-starter your-project-name dev-master
  • Download the latest version of Selenium Server (under "Selenium Standalone Server" section).

Running tests

  • Start selenium server
java -jar selenium-server-standalone-2.44.0.jar 
  • Go to project directory and run
vendor/bin/behat
  • Result would be like this:

5222a636-18c7-11e6-8d1c-f94ac35c48f7.png

Updating tests

  • Add more scenarios in features/smoke_test.feature
  • Add custom actions in features/bootstrap/FeatureContext.php

Author

Vijaya Chandran Mani