Example #1
0
 public function testGlobbingSupport()
 {
     $basePath = getcwd() . DS;
     $configuration = new Configuration($this->fixture('phpunit-globbing.xml'));
     /** @var SuitePath[][] $suites */
     $suites = $configuration->getSuites();
     $this->assertEquals($basePath . 'test' . DS . 'fixtures' . DS . 'globbing-support-tests' . DS . 'some-dir', $suites["ParaTest Fixtures"][0]->getPath());
     $this->assertEquals($basePath . 'test' . DS . 'fixtures' . DS . 'globbing-support-tests' . DS . 'some-dir2', $suites["ParaTest Fixtures"][1]->getPath());
     return $suites;
 }