{"action":"closed","issue":{"url":"https://api.github.com/repos/Codeception/Codeception/issues/1691","labels_url":"https://api.github.com/repos/Codeception/Codeception/issues/1691/labels{/name}","comments_url":"https://api.github.com/repos/Codeception/Codeception/issues/1691/comments","events_url":"https://api.github.com/repos/Codeception/Codeception/issues/1691/events","html_url":"https://github.com/Codeception/Codeception/issues/1691","id":56579271,"number":1691,"title":"Cest dependencies fail because test result uses wrong class name","user":{"login":"bjcullinan","id":5000985,"avatar_url":"https://avatars.githubusercontent.com/u/5000985?v=3","gravatar_id":"","url":"https://api.github.com/users/bjcullinan","html_url":"https://github.com/bjcullinan","followers_url":"https://api.github.com/users/bjcullinan/followers","following_url":"https://api.github.com/users/bjcullinan/following{/other_user}","gists_url":"https://api.github.com/users/bjcullinan/gists{/gist_id}","starred_url":"https://api.github.com/users/bjcullinan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjcullinan/subscriptions","organizations_url":"https://api.github.com/users/bjcullinan/orgs","repos_url":"https://api.github.com/users/bjcullinan/repos","events_url":"https://api.github.com/users/bjcullinan/events{/privacy}","received_events_url":"https://api.github.com/users/bjcullinan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-04T20:00:39Z","updated_at":"2015-02-04T20:07:44Z","closed_at":"2015-02-04T20:07:44Z","body":"Looking at TestResult https://github.com/sebastianbergmann/phpunit/blob/master/src/Framework/TestResult.php#L348\r\n\r\nThe class name is added to tests passed, but this prevents referencing tests in this format:\r\n * @depends Admin\\Bundle\\Tests\\APageLoaderCest::tryStudentRegister\r\nbecause the actual class being checked is \\Codeception\\TestCase\\Cest::\r\n\r\nThe best solution I could find is the search for the correct test based on test name, and ignore the class name except to tell codeception that it isn't in the same class that is currently running.\r\n\r\n\r\nI retract my previous statement.  Something else is causing me to not be able to run my tests.  Following the stack a little closer I see it is replacing the correct names."}}