PHP 클래스 Visualphpunit\Core\Parser

저자: Johannes Skov Frandsen ([email protected])
파일 보기 프로젝트 열기: visualphpunit/visualphpunit 1 사용 예제들

공개 메소드들

메소드 설명
run ( string[] $tests ) : double\arrayinteger | array> Run the list of test files

비공개 메소드들

메소드 설명
addBootstrap ( array $tests ) : void Require bootstrap if vpu can find it
explodeTestName ( string $testName ) : mixed[] Explode a testname into class and method components
filterTrace ( array $trace ) : mixed[] Filter the trace to exclude vendor and VPU classes
friendlyName ( sreing $camelCaseString ) : string Convert camelCase to friendly name
getComparison ( Exception $e ) : mixed[] Get expected and actual if available
parseTest ( string $status, string | object $test ) : mixed[] Parse individual test
parseTestSuite ( PHPUnit_Framework_TestResult $result ) : double\arrayinteger | array> Parse the test suite result

메소드 상세

run() 공개 메소드

Run the list of test files
public run ( string[] $tests ) : double\arrayinteger | array>
$tests string[]
리턴 double\arrayinteger | array>