ParaTest\Runners\PHPUnit\SuiteLoaderTest::testLoadTestsuiteFilesFromDirFromConfigWhileRespectingExcludeTag PHP Method

testLoadTestsuiteFilesFromDirFromConfigWhileRespectingExcludeTag() public method

    public function testLoadTestsuiteFilesFromDirFromConfigWhileRespectingExcludeTag()
    {
        $options = new Options(array('configuration' => $this->fixture('phpunit-excluded-including-dir.xml'), 'testsuite' => 'ParaTest Fixtures'));
        $loader = new SuiteLoader($options);
        $loader->load();
        $files = $this->getObjectValue($loader, 'files');
        $expected = 2;
        $this->assertEquals($expected, sizeof($files));
    }