From ae61d8a54ce0cbbd2b1ef303a681e8ee637c7aee Mon Sep 17 00:00:00 2001 From: Nicolas ADLER Date: Wed, 24 Feb 2016 19:56:54 +0100 Subject: [PATCH] [Composer] Add selenium server standalone in require-dev --- README.md | 12 ++++++------ composer.json | 3 ++- composer.lock | 45 ++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 50 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 757919de7e..83955df9df 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/composer.json b/composer.json index 87874e0349..d2a46fa80b 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/composer.lock b/composer.lock index 73f59bd502..73188b0be6 100644 --- a/composer.lock +++ b/composer.lock @@ -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",