vijaycs85 / behat-starter
Behat 3.0 starter
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:Cucumber
Type:behat-sample
Requires
- behat/behat: ~3.0.6
- behat/mink-extension: 2.2
- behat/mink-selenium2-driver: 1.3.1
This package is auto-updated.
Last update: 2024-12-26 09:00:17 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:
Updating tests
- Add more scenarios in features/smoke_test.feature
- Add custom actions in features/bootstrap/FeatureContext.php