{"action":"created","issue":{"url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2136","repository_url":"https://api.github.com/repos/sebastianbergmann/phpunit","labels_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2136/labels{/name}","comments_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2136/comments","events_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2136/events","html_url":"https://github.com/sebastianbergmann/phpunit/issues/2136","id":147966125,"number":2136,"title":"Test case skipped when autoloaded before checking","user":{"login":"paq85","id":913555,"avatar_url":"https://avatars.githubusercontent.com/u/913555?v=3","gravatar_id":"","url":"https://api.github.com/users/paq85","html_url":"https://github.com/paq85","followers_url":"https://api.github.com/users/paq85/followers","following_url":"https://api.github.com/users/paq85/following{/other_user}","gists_url":"https://api.github.com/users/paq85/gists{/gist_id}","starred_url":"https://api.github.com/users/paq85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paq85/subscriptions","organizations_url":"https://api.github.com/users/paq85/orgs","repos_url":"https://api.github.com/users/paq85/repos","events_url":"https://api.github.com/users/paq85/events{/privacy}","received_events_url":"https://api.github.com/users/paq85/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sebastianbergmann/phpunit/labels/reproducing-test-case-missing","name":"reproducing-test-case-missing","color":"e11d21"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-13T07:03:58Z","updated_at":"2016-04-14T06:16:17Z","closed_at":null,"body":"Hi.\r\n\r\nHere's a test showing the bug related to autoloading:\r\nhttps://github.com/paq85/phpunit/blob/master/tests/Framework/SuiteTest.php#L260\r\nResults: https://travis-ci.org/paq85/phpunit/jobs/122711118\r\n\r\nI think the issue is in how \\PHPUnit_Framework_TestSuite::addTestFile decides if class should be included in test suite.\r\n\r\nIMHO it's a bug but if it's an expected behaviour it would be great to have a not about it in the doc and a notice in the command line output.\r\nThis may cause some test cases not being executed without any warning - and it's hard to spot.\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/comments/209777938","html_url":"https://github.com/sebastianbergmann/phpunit/issues/2136#issuecomment-209777938","issue_url":"https://api.github.com/repos/sebastianbergmann/phpunit/issues/2136","id":209777938,"user":{"login":"sebastianbergmann","id":25218,"avatar_url":"https://avatars.githubusercontent.com/u/25218?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianbergmann","html_url":"https://github.com/sebastianbergmann","followers_url":"https://api.github.com/users/sebastianbergmann/followers","following_url":"https://api.github.com/users/sebastianbergmann/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbergmann/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbergmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbergmann/subscriptions","organizations_url":"https://api.github.com/users/sebastianbergmann/orgs","repos_url":"https://api.github.com/users/sebastianbergmann/repos","events_url":"https://api.github.com/users/sebastianbergmann/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbergmann/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T06:16:17Z","updated_at":"2016-04-14T06:16:17Z","body":"A a minimal, self-contained, reproducing test case is something short that you can add here in a comment and that I can copy, paste, and run."}}