I am having trouble getting php unit to work with CTestCase, it works fine with PHPUnit_Framework_TestCase
Here is the test class: -
<?php
class DbTest extends CTestCase
{
public function testConnection()
{
$this->assertTrue(true);
}
}Here is the error: -
phpunit unit/DbTest.php PHPUnit 3.7.6 by Sebastian Bergmann. Function 'phpunit_autoload' not found (function 'phpunit_autoload' not found or invalid function name)
Anyone come across this before?
Thanks for your help
All the best,
Ash

Help















