SimpleCommandLineParser::getTestCase PHP Method

getTestCase() public method

Run only this test suite.
public getTestCase ( ) : string
return string Test class name to run.
    public function getTestCase()
    {
        return $this->case;
    }

Usage Example

 public function testCanReadShortForms()
 {
     $parser = new SimpleCommandLineParser(array('-t', 'myTest', '-c', 'MyClass', '-x'));
     $this->assertEqual($parser->getTest(), 'myTest');
     $this->assertEqual($parser->getTestCase(), 'MyClass');
     $this->assertTrue($parser->isXml());
 }
All Usage Examples Of SimpleCommandLineParser::getTestCase