getSize() public method

Number of contained test cases.
public getSize ( ) : integer
return integer Total count of cases in the group.
Beispiel #1
0
 function testLoadIfIncluded()
 {
     $tests = new TestSuite();
     $tests->addFile(dirname(__FILE__) . '/support/test1.php');
     $this->assertEqual($tests->getSize(), 1);
 }