Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

started migration to Composer

  • Loading branch information...
commit 84e7cd896b32c3d5dc5455ddebffb9899cf39193 1 parent 7496c98
@everzet everzet authored
View
2  .gitignore
@@ -1,3 +1,5 @@
*.tgz
*.phar
phpunit.xml
+vendor
+composer.lock
View
26 autoload.php.dist
@@ -1,26 +0,0 @@
-<?php
-
-/*
- * This file is part of the Behat\Mink.
- * (c) Konstantin Kudryashov <ever.zet@gmail.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-if (!class_exists('Behat\Mink\ClassLoader\UniversalClassLoader')) {
- require_once __DIR__ . '/src/Behat/Mink/ClassLoader/UniversalClassLoader.php';
-}
-use Behat\Mink\ClassLoader\UniversalClassLoader;
-
-$loader = new UniversalClassLoader();
-$loader->registerNamespaces(array(
- 'Behat\Mink' => __DIR__ . '/src',
- 'Behat\SahiClient' => __DIR__ . '/vendor/SahiClient/src',
- 'Symfony\Component' => __DIR__ . '/vendor',
- 'Buzz' => __DIR__ . '/vendor/Buzz/lib',
- 'Goutte' => __DIR__ . '/vendor/Goutte/src',
- 'Zend' => __DIR__ . '/vendor/Goutte/vendor/zend/library',
- 'Selenium' => __DIR__ . '/vendor/php-selenium/src',
-));
-$loader->register();
View
126 composer.json
@@ -0,0 +1,126 @@
+{
+ "name": "behat/mink",
+ "description": "Web acceptance testing framework for PHP 5.3",
+ "keywords": ["web", "testing", "browser"],
+ "homepage": "http://mink.behat.org/",
+ "type": "library",
+ "license": "MIT",
+
+ "authors": [
+ {
+ "name": "Konstantin Kudryashov",
+ "email": "ever.zet@gmail.com",
+ "homepage": "http://everzet.com"
+ }
+ ],
+
+ "require": {
+ "php": ">=5.3.1",
+ "symfony/browser-kit": ">=2.0",
+ "symfony/dom-crawler": ">=2.0",
+ "symfony/css-selector": ">=2.0",
+ "symfony/finder": ">=2.0",
+ "symfony/process": ">=2.0"
+ },
+
+ "recommend": {
+ "fabpot/goutte": "*",
+ "behat/sahi-client": "*",
+ "alexandresalome/php-selenium": "*"
+ },
+
+ "autoload": {
+ "psr-0": {
+ "Behat\\Mink": "src/"
+ }
+ },
+
+ "repositories": {
+ "fabpot/goutte": {
+ "package": {
+ "name": "fabpot/goutte",
+ "version": "master-dev",
+ "dist": {
+ "url": "https://github.com/fabpot/Goutte/zipball/master",
+ "type": "zip"
+ },
+ "source": {
+ "url": "git://github.com/fabpot/Goutte.git",
+ "type": "git",
+ "reference": "master"
+ },
+ "require": {
+ "zendframework/zf2": ">=2.0beta1",
+ "symfony/browser-kit": ">=2.0",
+ "symfony/dom-crawler": ">=2.0",
+ "symfony/css-selector": ">=2.0",
+ "symfony/finder": ">=2.0",
+ "symfony/process": ">=2.0"
+ },
+ "autoload": {
+ "psr-0": { "Goutte": "src/" }
+ }
+ }
+ },
+ "zendframework/zf2": {
+ "package": {
+ "name": "zendframework/zf2",
+ "version": "2.0.0beta1",
+ "dist": {
+ "url": "https://github.com/zendframework/zf2/zipball/release-2.0.0beta1",
+ "type": "zip"
+ },
+ "source": {
+ "url": "git://github.com/zendframework/zf2.git",
+ "type": "git",
+ "reference": "release-2.0.0beta1"
+ },
+ "autoload": {
+ "psr-0": { "Zend": "library/" }
+ }
+ }
+ },
+ "behat/sahi-client": {
+ "package": {
+ "name": "behat/sahi-client",
+ "version": "master-dev",
+ "dist": {
+ "url": "https://github.com/Behat/SahiClient/zipball/master",
+ "type": "zip"
+ },
+ "source": {
+ "url": "git://github.com/Behat/SahiClient.git",
+ "type": "git",
+ "reference": "master"
+ },
+ "require": {
+ "kriswallsmith/buzz": ">=0.5"
+ },
+ "autoload": {
+ "psr-0": { "Behat\\SahiClient": "src/" }
+ }
+ }
+ },
+ "alexandresalome/php-selenium": {
+ "package": {
+ "name": "alexandresalome/php-selenium",
+ "version": "master-dev",
+ "dist": {
+ "url": "https://github.com/alexandresalome/PHP-Selenium/zipball/master",
+ "type": "zip"
+ },
+ "source": {
+ "url": "git://github.com/alexandresalome/PHP-Selenium.git",
+ "type": "git",
+ "reference": "master"
+ },
+ "require": {
+ "symfony/dom-crawler": ">=2.0"
+ },
+ "autoload": {
+ "psr-0": { "Selenium": "src/" }
+ }
+ }
+ }
+ }
+}
View
2  phpunit.xml.dist
@@ -9,7 +9,7 @@
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
- bootstrap="tests/bootstrap.php"
+ bootstrap="vendor/.composer/autoload.php"
>
<testsuites>
<testsuite name="Behat Mink test suite">
1  vendor/Buzz
@@ -1 +0,0 @@
-Subproject commit bbd80ebd50510217597d4d9a75b57564cb8a7b32
1  vendor/Goutte
@@ -1 +0,0 @@
-Subproject commit e5da2432b3f907c69c7ba38fe2c92264b98a3754
1  vendor/SahiClient
@@ -1 +0,0 @@
-Subproject commit fe8a66ef3162fa783fc0ad8d49d5f3b59a4682da
1  vendor/Symfony/Component/BrowserKit
@@ -1 +0,0 @@
-Subproject commit e5b59cfe674c35acf041590af2034dd3c6bb676d
1  vendor/Symfony/Component/CssSelector
@@ -1 +0,0 @@
-Subproject commit a35451d46392a006159c69e0fc9bd9f7004a1627
1  vendor/Symfony/Component/DomCrawler
@@ -1 +0,0 @@
-Subproject commit 0662642a31909e3020a76536db06894cc0237235
1  vendor/Symfony/Component/Finder
@@ -1 +0,0 @@
-Subproject commit 99772d00b5597b99d8377c0b1b4bc8479722630d
1  vendor/Symfony/Component/Process
@@ -1 +0,0 @@
-Subproject commit 69817b46c8ec78e1b1149c70bd0fab241c60f7bc
1  vendor/php-selenium
@@ -1 +0,0 @@
-Subproject commit 7e569ab82e3b6ff632a7cc6c5aed1bf51224dbde
Please sign in to comment.
Something went wrong with that request. Please try again.