/** * Override method to add test name to the capabilities. * Name will be shown in sauce labs / testing bot / browser stack services * * @param TestCase $test */ public function _before(TestCase $test) { $this->config['capabilities']['name'] = get_class($test->getTestClass()) . ':' . $test->getName(); parent::_before($test); }