mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-09-27 20:06:31 +02:00
Updated install instructions
This commit is contained in:
parent
135ae89617
commit
9b5eaa30a5
17
README.md
17
README.md
@ -35,21 +35,20 @@ Note: The extension has only been tested with the `selenium2` Mink driver.
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
As a first step, [install SilverStripe 3.x through Composer](http://doc.silverstripe.org/framework/en/installation/composer).
|
Simply [install SilverStripe through Composer](http://doc.silverstripe.org/framework/en/installation/composer)
|
||||||
|
with the `--dev` flag, which loads the required dependencies automatically.
|
||||||
|
|
||||||
Then require this extension:
|
composer create-project --keep-vcs --dev silverstripe/installer test 3.0.x-dev
|
||||||
|
|
||||||
phar composer.phar require silverstripe/behat-extension:*
|
|
||||||
|
|
||||||
Install PHPUnit through PEAR:
|
|
||||||
|
|
||||||
pear channel-discover pear.phpunit.de
|
|
||||||
pear install phpunit/PHPUnit
|
|
||||||
|
|
||||||
And get the latest Selenium2 server (requires Java):
|
And get the latest Selenium2 server (requires Java):
|
||||||
|
|
||||||
wget http://selenium.googlecode.com/files/selenium-server-standalone-2.25.0.jar
|
wget http://selenium.googlecode.com/files/selenium-server-standalone-2.25.0.jar
|
||||||
|
|
||||||
|
Alternatively, you can require this extension manually on an existing Composer project.
|
||||||
|
Please note that we do require a Composer-based installation due to class autoloading concerns.
|
||||||
|
|
||||||
|
phar composer.phar require silverstripe/behat-extension:*
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
### Session::start()
|
### Session::start()
|
||||||
|
Loading…
Reference in New Issue
Block a user