[tests] Improve the basic framework of our test suite.

We now have a base test case class for Predis (namely PredisTestCase)
grouping various commonly used utility methods shared by all of the
tests in the suite, greatly improving reusability.
This commit is contained in:
Daniele Alessandri
2013-11-30 18:05:56 +01:00
parent 7f690cb62e
commit b253bdc41e
218 changed files with 411 additions and 754 deletions
+2 -2
View File
@@ -11,14 +11,14 @@
namespace Predis\Configuration;
use PHPUnit_Framework_TestCase as StandardTestCase;
use stdClass;
use PredisTestCase;
/**
* @todo We should test the inner work performed by this class
* using mock objects, but it is quite hard to to that.
*/
class OptionsTest extends StandardTestCase
class OptionsTest extends PredisTestCase
{
/**
* @group disconnected