Skip to content

Commit

Permalink
made usage of Composer autoloader for subtree-split unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Nov 9, 2012
1 parent c39ee4e commit 5e3ea98
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 29 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,2 +1,4 @@
vendor/
composer.lock
phpunit.xml

9 changes: 3 additions & 6 deletions README.md
Expand Up @@ -68,9 +68,6 @@ Resources

You can run the unit tests with the following command:

phpunit

If you also want to run the unit tests that depend on other Symfony
Components, install dev dependencies before running PHPUnit:

php composer.phar install --dev
$ cd path/to/Symfony/Component/DependencyInjection/
$ composer.phar install --dev
$ phpunit
22 changes: 0 additions & 22 deletions Tests/bootstrap.php

This file was deleted.

2 changes: 1 addition & 1 deletion phpunit.xml.dist
Expand Up @@ -9,7 +9,7 @@
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="Tests/bootstrap.php"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="Symfony DependencyInjection Component Test Suite">
Expand Down

0 comments on commit 5e3ea98

Please sign in to comment.