Skip to content
Browse files

made usage of Composer autoloader for subtree-split unit tests

  • Loading branch information...
1 parent 9a80732 commit a400f020feccd615cbb9fccff9a949dd7f843f86 @fabpot fabpot committed
Showing with 7 additions and 2 deletions.
  1. +3 −0 .gitignore
  2. +3 −1 README.md
  3. +1 −1 phpunit.xml.dist
View
3 .gitignore
@@ -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
View
4 README.md
@@ -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
View
2 phpunit.xml.dist
@@ -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">

0 comments on commit a400f02

Please sign in to comment.
Something went wrong with that request. Please try again.