File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed
Expand file tree Collapse file tree 3 files changed +18
-2
lines changed 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 @@ -8,6 +8,7 @@ Streaming newline delimited JSON ([NDJSON](http://ndjson.org/)) parser and encod
88 * [ Decoder] ( #decoder )
99 * [ Encoder] ( #encoder )
1010* [ Install] ( #install )
11+ * [ Tests] ( #tests )
1112* [ License] ( #license )
1213* [ More] ( #more )
1314
@@ -197,6 +198,20 @@ $ composer require clue/ndjson-react:^0.1
197198
198199See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
199200
201+ ## Tests
202+
203+ To run the test suite, you first need to clone this repo and then install all dependencies [ through Composer] ( http://getcomposer.org ) :
204+
205+ ``` bash
206+ $ composer install
207+ ```
208+
209+ To run the test suite, go to the project root and run:
210+
211+ ``` bash
212+ $ php vendor/bin/phpunit
213+ ```
214+
200215## License
201216
202217MIT
Original file line number Diff line number Diff line change 1818 "react/stream" : " ^0.4 || ^0.3"
1919 },
2020 "require-dev" : {
21- "react/event-loop" : " ^0.4 || ^0.3"
21+ "react/event-loop" : " ^0.4 || ^0.3" ,
22+ "phpunit/phpunit" : " ^4.8"
2223 }
2324}
You can’t perform that action at this time.
0 commit comments