/** * Mark tests skipped * * @param TestCase $test * @param array $errors * @todo Mark tests skipped, unfortunately tests are skipped by invoking exceptions from the tests. */ private function markTestsSkipped(TestCase $test, array $errors) { list($identifier, $className, $testName) = $this->storage->getTestIdentifiers($test); if ($this->mergeMode === self::MERGE_MODE_ERROR_AND_SKIP && count($errors) > 0 && count($this->suite->tests()) > count($errors) && $this->storage->getRecording(array(StorageInterface::STATUS_PASSED), $identifier)) { // mark test skipped. quite hard, cause skipped tests are handled through exceptions } }