File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ install:
1717 - composer install --no-interaction
1818
1919script :
20- - phpunit --coverage-text
20+ - vendor/bin/ phpunit --coverage-text
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ It enables you to set and query its data or use its PubSub topics to react to in
3434 * [ close()] ( #close )
3535 * [ end()] ( #end )
3636* [ Install] ( #install )
37+ * [ Tests] ( #tests )
3738* [ License] ( #license )
3839
3940## Quickstart example
@@ -248,6 +249,21 @@ $ composer require "clue/redis-react:^1.0 || ^0.5"
248249
249250See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
250251
252+ ## Tests
253+
254+ To run the test suite, you first need to clone this repo and then install all
255+ dependencies [ through Composer] ( http://getcomposer.org ) :
256+
257+ ``` bash
258+ $ composer install
259+ ```
260+
261+ To run the test suite, go to the project root and run:
262+
263+ ``` bash
264+ $ php vendor/bin/phpunit
265+ ```
266+
251267## License
252268
253269MIT
Original file line number Diff line number Diff line change 2222 "psr-4" : { "Clue\\ React\\ Redis\\ " : " src/" }
2323 },
2424 "require-dev" : {
25- "clue/block-react" : " ^1.1"
25+ "clue/block-react" : " ^1.1" ,
26+ "phpunit/phpunit" : " ^4.8"
2627 }
2728}
You can’t perform that action at this time.
0 commit comments