chen ge Sun Apr 03 00:57:20 -0400 2011

Subject: run phpunit of php-activerecord failed

I am trying to test php-activerecord, it has some tests. When run:

phpunit sometestname

nothing happened. I checked the code,

include 'helpers/config.php';

require_once dirname(FILE) . '/../lib/Inflector.php';

class InflectorTest extends SnakeCase_PHPUnit_Framework_TestCase

{
public function set_up() {
$this->inflector = ActiveRecord\Inflector::instance();
}

public function testOne()
{
$this->assertTrue(2+2==4);
}

Any idea?


Yoan B Sun Apr 03 07:11:07 -0400 2011

(1-1/1)