File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : php
2+
23php :
34 - 5.3
45 - 5.6
56 - hhvm
7+
68install :
79 - composer install --prefer-source --no-interaction
10+
811script :
9- - phpunit --coverage-text
12+ - vendor/bin/ phpunit --coverage-text
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ Lightweight library that eases integrating async components built for
1313 * [ awaitAny()] ( #awaitany )
1414 * [ awaitAll()] ( #awaitall )
1515* [ Install] ( #install )
16+ * [ Tests] ( #tests )
1617* [ License] ( #license )
1718
1819## Introduction
@@ -202,6 +203,21 @@ $ composer require clue/block-react:^1.1
202203
203204See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
204205
206+ ## Tests
207+
208+ To run the test suite, you first need to clone this repo and then install all
209+ dependencies [ through Composer] ( http://getcomposer.org ) :
210+
211+ ``` bash
212+ $ composer install
213+ ```
214+
215+ To run the test suite, go to the project root and run:
216+
217+ ``` bash
218+ $ php vendor/bin/phpunit
219+ ```
220+
205221## License
206222
207223MIT
Original file line number Diff line number Diff line change 1818 "react/event-loop" : " 0.4.*|0.3.*" ,
1919 "react/promise" : " ~2.1|~1.2" ,
2020 "react/promise-timer" : " ~1.0"
21+ },
22+ "require-dev" : {
23+ "phpunit/phpunit" : " ^5.0 || ^4.8"
2124 }
2225}
You can’t perform that action at this time.
0 commit comments