File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ install:
1414 - composer install --no-interaction
1515
1616script :
17- - phpunit --coverage-text
17+ - vendor/bin/ phpunit --coverage-text
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Streaming UTF-8 parser for React PHP
77* [ Usage] ( #usage )
88 * [ Sequencer] ( #sequencer )
99* [ Install] ( #install )
10+ * [ Tests] ( #tests )
1011* [ License] ( #license )
1112* [ More] ( #more )
1213
@@ -65,6 +66,21 @@ $ composer require clue/utf8-react:^0.1
6566
6667See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
6768
69+ ## Tests
70+
71+ To run the test suite, you first need to clone this repo and then install all
72+ dependencies [ through Composer] ( http://getcomposer.org ) :
73+
74+ ``` bash
75+ $ composer install
76+ ```
77+
78+ To run the test suite, go to the project root and run:
79+
80+ ``` bash
81+ $ php vendor/bin/phpunit
82+ ```
83+
6884## License
6985
7086MIT
Original file line number Diff line number Diff line change 1616 "require" : {
1717 "php" : " >=5.3" ,
1818 "react/stream" : " ^0.4 || ^0.3"
19+ },
20+ "require-dev" : {
21+ "phpunit/phpunit" : " ^4.8"
1922 }
2023}
You can’t perform that action at this time.
0 commit comments