public function testSampleTestCaseBuildsAFullSuiteContainingAllItsTests()
 {
     require_once __DIR__ . '/fixtures/SuiteBuildingSuites.php';
     $suite = Extensions_SeleniumTestCaseSample::suite('Extensions_SeleniumTestCaseSample');
     $this->assertInstanceOf('PHPUnit_Framework_TestSuite', $suite);
     $this->assertEquals(2, count($suite->tests()));
 }
예제 #2
0
 public function testSampleTestCaseBuildsAFullSuiteContainingAllItsTests()
 {
     $suite = Extensions_SeleniumTestCaseSample::suite('Extensions_SeleniumTestCaseSample');
     $this->assertInstanceOf('PHPUnit_Framework_TestSuite', $suite);
     $this->assertEquals(2, count($suite->tests()));
 }