/** * @test * @dataProvider jsonFileProvider */ public function executeTestCasesFor($file) { $this->fileReader->setFile($file); $this->runTestCaseFile(new JsonTestCaseFileHandler($this->fileReader)); }
/** * @test * @dataProvider jsonFileProvider */ public function executeTestCasesFor($file) { if (!$this->canExecuteTestCasesFor($file)) { $this->markTestSkipped($file . ' excluded from test run'); } $this->fileReader->setFile($file); $this->runTestCaseFile(new JsonTestCaseFileHandler($this->fileReader)); }