Skip to content
This repository has been archived by the owner on Apr 19, 2020. It is now read-only.

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 9a80732 commit a400f02
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -3,3 +3,6 @@ Resources/data/4.2/
Resources/data/4.4/
Resources/data/4.6/
Resources/data/4.8/
vendor/
composer.lock
phpunit.xml
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -22,7 +22,9 @@ Resources

You can run the unit tests with the following command:

phpunit
$ cd path/to/Symfony/Component/XXX/
$ composer.phar install --dev
$ phpunit

If your PHP have the ``intl`` extension enabled but the intl extension ICU data
version mismatch the one shipped with the component, you can build the data for
Expand Down
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 Locale Component Test Suite">
Expand Down

0 comments on commit a400f02

Please sign in to comment.