File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ install:
17
17
- composer install --no-interaction
18
18
19
19
script :
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
34
34
* [ close()] ( #close )
35
35
* [ end()] ( #end )
36
36
* [ Install] ( #install )
37
+ * [ Tests] ( #tests )
37
38
* [ License] ( #license )
38
39
39
40
## Quickstart example
@@ -248,6 +249,21 @@ $ composer require "clue/redis-react:^1.0 || ^0.5"
248
249
249
250
See also the [ CHANGELOG] ( CHANGELOG.md ) for details about version upgrades.
250
251
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
+
251
267
## License
252
268
253
269
MIT
Original file line number Diff line number Diff line change 22
22
"psr-4" : { "Clue\\ React\\ Redis\\ " : " src/" }
23
23
},
24
24
"require-dev" : {
25
- "clue/block-react" : " ^1.1"
25
+ "clue/block-react" : " ^1.1" ,
26
+ "phpunit/phpunit" : " ^4.8"
26
27
}
27
28
}
You can’t perform that action at this time.
0 commit comments