8000 Make tests actually start in README · jrtkcoder/phpredis@0579872 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0579872

Browse files
szepeviktormichael-grunder
authored andcommitted
Make tests actually start in README
1 parent 92a0e1e commit 0579872

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.markdown

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The phpredis extension provides an API for communicating with the [Redis](http://redis.io/) key-value store. It is released under the [PHP License, version 3.01](http://www.php.net/license/3_01.txt).
44
This code has been developed and maintained by Owlient from November 2009 to March 2011.
55

6-
You can send comments, patches, questions [here on github](https://github.com/nicolasff/phpredis/issues), to n.favrefelix@gmail.com ([@yowgi](http://twitter.com/yowgi)), or to michael.grunder@gmail.com ([@grumi78](http://twitter.com/grumi78)).
6+
You can send comments, patches, questions [here on github](https://github.com/phpredis/phpredis/issues), to n.favrefelix@gmail.com ([@yowgi](http://twitter.com/yowgi)), or to michael.grunder@gmail.com ([@grumi78](http://twitter.com/grumi78)).
77

88

99
# Table of contents
@@ -110,27 +110,30 @@ See [dedicated page](https://github.com/phpredis/phpredis/blob/master/arrays.mar
110110
See [dedicated page](https://github.com/phpredis/phpredis/blob/feature/redis_cluster/cluster.markdown#readme).
111111

112112
## Running the unit tests
113+
113114
phpredis uses a small custom unit test suite for testing functionality of the various classes. To run tests, simply do the following:
114115

115-
<pre>
116+
~~~
116117
# Run tests for Redis class (note this is the default)
117118
php tests/TestRedis.php --class Redis
118119
119120
# Run tests for RedisArray class
120-
tests/mkring.sh
121+
tests/mkring.sh start
121122
php tests/TestRedis.php --class RedisArray
123+
tests/mkring.sh stop
122124
123125
# Run tests for the RedisCluster class
124-
test/make-cluster.sh start
126+
tests/make-cluster.sh start
125127
php tests/TestRedis.php --class RedisCluster
126-
</pre>
128+
tests/make-cluster.sh stop
129+
~~~
127130

128131
Note that it is possible to run only tests which match a substring of the test itself by passing the additional argument '--test <str>' when invoking.
129132

130-
<pre>
133+
~~~
131134
# Just run the 'echo' test
132135
php tests/TestRedis.php --class Redis --test echo
133-
</pre>
136+
~~~
134137

135138
# Classes and methods
136139
-----

0 commit comments

Comments
 (0)
0