File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed
Expand file tree Collapse file tree 3 files changed +20
-1
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 @@ -17,6 +17,7 @@ built on top of [ReactPHP's SocketClient](https://github.com/reactphp/socket-cli
1717 * [ Concurrent] ( #concurrent )
1818 * [ Selective] ( #selective )
1919* [ Install] ( #install )
20+ * [ Tests] ( #tests )
2021* [ License] ( #license )
2122
2223## Introduction
@@ -207,6 +208,21 @@ $ composer require clue/connection-manager-extra:^0.5
207208
208209See also the [ CHANGELOG] ( CHANGELOG.md ) for more details about version upgrades.
209210
211+ ## Tests
212+
213+ To run the test suite, you first need to clone this repo and then install all
214+ dependencies [ through Composer] ( http://getcomposer.org ) :
215+
216+ ``` bash
217+ $ composer install
218+ ```
219+
220+ To run the test suite, go to the project root and run:
221+
222+ ``` bash
223+ $ php vendor/bin/phpunit
224+ ```
225+
210226## License
211227
212228MIT
Original file line number Diff line number Diff line change 1919 "react/event-loop" : " ^0.4 || ^0.3" ,
2020 "react/promise" : " ^2.1 || ^1.2" ,
2121 "react/promise-timer" : " ^1.1"
22+ },
23+ "require-dev" : {
24+ "phpunit/phpunit" : " ^4.8"
2225 }
2326}
You can’t perform that action at this time.
0 commit comments