Follow me on twitter…


Once shared Rediska with you, we want to be sure it works well. To achieve this, we cover it with comprehensive number of unit tests.

We use PHPUnit testing library (installation instructions from the official manual) and Zend Framework (installation guide).

Before running the tests you need to setup environment: rename config.ini-dist to config.ini in tests folder and specify your rediska instances configuration. You don't have to specify 2nd instance with two servers, but some tests will be ignored in this case.

Warning: Data on both servers will be cleared!

To run tests use phpunit command in tests folder or if you use Zend Studio click with right mouse button on bootstrap.php and pick Run As.. -> PHPUnit Test.


Fork me on GitHub