tags:

views:

7

answers:

0

This is my Unit Test class

<?
require_once '../simpletest/unit_tester.php';
require_once '../simpletest/reporter.php';
class Academic extends UnitTestCase
{
    function setUp()
    {
    }
    function tearDown()
    {                           
    }
    function testAc1()
    {          
    } 
    function testAc4()
    {         
    }     
    function testAc7()
    {        
    }

}

$test = new Academic();
$test->run(new HtmlReporter());
?>

When I run this script all methods viz., testAc1, testAc4, testAc7 etc are run. Is there a way to execute just a single method ?

Thanks, Shikhar