[Composer] Add selenium server standalone in require-dev

This commit is contained in:
Nicolas ADLER 2016-02-24 19:56:54 +01:00
parent 13399c8bb3
commit ae61d8a54c
3 changed files with 50 additions and 10 deletions

View file

@ -12,11 +12,11 @@ Sylius is an open source e-commerce solution for **PHP**, based on the [**Symfon
Ultimate goal of the project is to create a webshop engine, which is user-friendly, *loved* by developers and has a helpful community.
Sylius is constructed from fully decoupled components (bundles in Symfony2 glossary), which means that every feature (products catalog, shipping engine, promotions system...) can be used in any other application.
Sylius is constructed from fully decoupled components (bundles in Symfony2 glossary), which means that every feature (products catalog, shipping engine, promotions system...) can be used in any other application.
We're using full-stack BDD methodology, with [phpspec](http://phpspec.net) and [Behat](http://behat.org).
Windows support is a WIP!
Windows support is a WIP!
[![Build status on Windows](https://img.shields.io/appveyor/ci/pjedrzejewski/sylius.svg)](https://ci.appveyor.com/project/pjedrzejewski/sylius/branch/master)
@ -41,14 +41,14 @@ The install script will give you the option to run fixtures that make testing an
If you want to try out new Sylius UI, please run the following commands:
```bash
$ npm install
$ npm install
$ gulp
```
[Behat](http://behat.org) scenarios
-----------------------------------
By default Behat uses `http://localhost:8080/` as your application base url. If your one is different,
By default Behat uses `http://localhost:8080/` as your application base url. If your one is different,
you need to create `behat.yml` files that will overwrite it with your custom url:
```yaml
@ -60,10 +60,10 @@ default:
base_url: http://my.custom.url
```
Then download [Selenium Server](http://seleniumhq.org/download/), and run it:
Then run selenium-server-standalone:
```bash
$ java -jar selenium-server-standalone.jar
$ bin/selenium-server-standalone
```
Then setup your test database:

View file

@ -101,7 +101,8 @@
"matthiasnoback/symfony-config-test": "^1.4",
"matthiasnoback/symfony-dependency-injection-test": "^0.7.6",
"phpspec/phpspec": "^2.4",
"phpunit/phpunit": "~4.1"
"phpunit/phpunit": "~4.1",
"se/selenium-server-standalone": "^2.52"
},
"replace": {
"sylius/addressing": "self.version",

45
composer.lock generated
View file

@ -4,8 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "160c647bc2c5678e5013ea727eba1005",
"content-hash": "78024c1b1e4d280ebe82da37e10f44f3",
"hash": "0c22f212a3df99f6049ced0ce7465df8",
"content-hash": "8fb7fd8f7d205b00ea43d0ba6b958fb4",
"packages": [
{
"name": "a2lix/translation-form-bundle",
@ -8944,7 +8944,7 @@
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Lakion/ApiTestCase/zipball/6ef4bc5ab7daf8646e7003afdb330b314edbd57d",
"url": "https://api.github.com/repos/Lakion/ApiTestCase/zipball/ae9e1b635f26780df66fb034c8c3566d52eca928",
"reference": "466bd22a228c96a2dba971045ac8c0b0400df6d1",
"shasum": ""
},
@ -10033,6 +10033,45 @@
],
"time": "2013-01-19 23:12:22"
},
{
"name": "se/selenium-server-standalone",
"version": "v2.52.0",
"source": {
"type": "git",
"url": "https://github.com/sveneisenschmidt/selenium-server-standalone.git",
"reference": "b1dae29a7f24d43ef7ccd5e73f545e297ba6f14d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/sveneisenschmidt/selenium-server-standalone/zipball/b1dae29a7f24d43ef7ccd5e73f545e297ba6f14d",
"reference": "b1dae29a7f24d43ef7ccd5e73f545e297ba6f14d",
"shasum": ""
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"bin": [
"bin/selenium-server-standalone"
],
"type": "library",
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache 2.0"
],
"authors": [
{
"name": "Sven Eisenschmidt",
"email": "sven.eisenschmidt@gmail.com"
}
],
"description": "Composer distribution of Selenium Server Standalone, the browser automation framework. Adds a executable to your composer bin directory.",
"homepage": "https://github.com/sveneisenschmidt/selenium-server-standalone",
"keywords": [
"selenium",
"testing"
],
"time": "2016-02-17 10:14:55"
},
{
"name": "sebastian/comparator",
"version": "1.2.0",