{"action":"closed","number":366,"pull_request":{"url":"https://api.github.com/repos/avocado-framework/avocado/pulls/366","id":28191474,"html_url":"https://github.com/avocado-framework/avocado/pull/366","diff_url":"https://github.com/avocado-framework/avocado/pull/366.diff","patch_url":"https://github.com/avocado-framework/avocado/pull/366.patch","issue_url":"https://api.github.com/repos/avocado-framework/avocado/issues/366","number":366,"state":"closed","locked":false,"title":"[V8] Test discovery and load (Phase II)","user":{"login":"lmr","id":296807,"avatar_url":"https://avatars.githubusercontent.com/u/296807?v=3","gravatar_id":"","url":"https://api.github.com/users/lmr","html_url":"https://github.com/lmr","followers_url":"https://api.github.com/users/lmr/followers","following_url":"https://api.github.com/users/lmr/following{/other_user}","gists_url":"https://api.github.com/users/lmr/gists{/gist_id}","starred_url":"https://api.github.com/users/lmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmr/subscriptions","organizations_url":"https://api.github.com/users/lmr/orgs","repos_url":"https://api.github.com/users/lmr/repos","events_url":"https://api.github.com/users/lmr/events{/privacy}","received_events_url":"https://api.github.com/users/lmr/received_events","type":"User","site_admin":false},"body":"This is a follow up to #363.\r\n\r\nThis has the full functionality, including the list functionality and fixes to the remote and vm plugins.\r\n\r\nChanges from V7:\r\n\r\n* Fixed a misleading commit message, per @ldoktor's comments.\r\n* Simplified the selective showing of tests per @ldoktor's comments.\r\n\r\nChanges from V6:\r\n \r\n* Rebased the code\r\n* Improved the 'list' subcommand to take a list of paths, and overhauled the output of that command.\r\n* Fixed remote and VM plugins\r\n\r\nChanges from V4 and V5:\r\n\r\n * Rebase the code\r\n * Consolidated commits\r\n * Now when users provide paths to explicit files, then it analyzes them. If a dir is provided, non tests are not listed/their execution is attempted. Fixing comments by @ldoktor.\r\n\r\nChanges from V3:\r\n\r\nFixed problems found by @ldoktor, mainly:\r\n\r\n* Remove remaining references to MissingTests inside the code\r\n* Fix crash when tests have bugs that prevent their modules from being imported\r\n* Append base test directory to `sys.path` to ensure dependent modules in the same dir are importable\r\n\r\nChanges from V2:\r\n\r\n* Completely remove the concept of MissingTests. It wasn't very useful to begin with.\r\n* Break the need for test classes to be named after the module names.\r\n* Mass rename the current avocado test class names\r\n* Update docs to reflect the new *status quo*\r\n\r\nChanges from V1:\r\n\r\n* avocado.loader: Locate SimpleTests using the full path.\r\n* avocado.job: Set different messages when the number of tests found is zero [No tests found within the  specified path(s)] or when the number of variants is zero [The number of test variants is zero].\r\n* avocado.loader: Skip directory if we don't have permission to walk. Also skip tests that are not tests, so Avocado stops crashing when walking in a directory, looking for tests.\r\n* avocado.utils.process: Use shell glob style when matching wrap scripts.\r\ntest_lister plugin: Sort output in alphabetic order.","created_at":"2015-01-28T13:01:13Z","updated_at":"2015-01-29T12:07:45Z","closed_at":"2015-01-29T12:07:45Z","merged_at":null,"merge_commit_sha":"0b88a0c635f00e1082f056d7bac65aeca55cc935","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/avocado-framework/avocado/pulls/366/commits","review_comments_url":"https://api.github.com/repos/avocado-framework/avocado/pulls/366/comments","review_comment_url":"https://api.github.com/repos/avocado-framework/avocado/pulls/comments/{number}","comments_url":"https://api.github.com/repos/avocado-framework/avocado/issues/366/comments","statuses_url":"https://api.github.com/repos/avocado-framework/avocado/statuses/00fde19fc09af752f549136358b0e0fbe9cb29af","head":{"label":"lmr:test_discovery_v8","ref":"test_discovery_v8","sha":"00fde19fc09af752f549136358b0e0fbe9cb29af","user":{"login":"lmr","id":296807,"avatar_url":"https://avatars.githubusercontent.com/u/296807?v=3","gravatar_id":"","url":"https://api.github.com/users/lmr","html_url":"https://github.com/lmr","followers_url":"https://api.github.com/users/lmr/followers","following_url":"https://api.github.com/users/lmr/following{/other_user}","gists_url":"https://api.github.com/users/lmr/gists{/gist_id}","starred_url":"https://api.github.com/users/lmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmr/subscriptions","organizations_url":"https://api.github.com/users/lmr/orgs","repos_url":"https://api.github.com/users/lmr/repos","events_url":"https://api.github.com/users/lmr/events{/privacy}","received_events_url":"https://api.github.com/users/lmr/received_events","type":"User","site_admin":false},"repo":{"id":24439240,"name":"avocado","full_name":"lmr/avocado","owner":{"login":"lmr","id":296807,"avatar_url":"https://avatars.githubusercontent.com/u/296807?v=3","gravatar_id":"","url":"https://api.github.com/users/lmr","html_url":"https://github.com/lmr","followers_url":"https://api.github.com/users/lmr/followers","following_url":"https://api.github.com/users/lmr/following{/other_user}","gists_url":"https://api.github.com/users/lmr/gists{/gist_id}","starred_url":"https://api.github.com/users/lmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmr/subscriptions","organizations_url":"https://api.github.com/users/lmr/orgs","repos_url":"https://api.github.com/users/lmr/repos","events_url":"https://api.github.com/users/lmr/events{/privacy}","received_events_url":"https://api.github.com/users/lmr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lmr/avocado","description":"Avocado Test Framework","fork":true,"url":"https://api.github.com/repos/lmr/avocado","forks_url":"https://api.github.com/repos/lmr/avocado/forks","keys_url":"https://api.github.com/repos/lmr/avocado/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lmr/avocado/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lmr/avocado/teams","hooks_url":"https://api.github.com/repos/lmr/avocado/hooks","issue_events_url":"https://api.github.com/repos/lmr/avocado/issues/events{/number}","events_url":"https://api.github.com/repos/lmr/avocado/events","assignees_url":"https://api.github.com/repos/lmr/avocado/assignees{/user}","branches_url":"https://api.github.com/repos/lmr/avocado/branches{/branch}","tags_url":"https://api.github.com/repos/lmr/avocado/tags","blobs_url":"https://api.github.com/repos/lmr/avocado/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lmr/avocado/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lmr/avocado/git/refs{/sha}","trees_url":"https://api.github.com/repos/lmr/avocado/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lmr/avocado/statuses/{sha}","languages_url":"https://api.github.com/repos/lmr/avocado/languages","stargazers_url":"https://api.github.com/repos/lmr/avocado/stargazers","contributors_url":"https://api.github.com/repos/lmr/avocado/contributors","subscribers_url":"https://api.github.com/repos/lmr/avocado/subscribers","subscription_url":"https://api.github.com/repos/lmr/avocado/subscription","commits_url":"https://api.github.com/repos/lmr/avocado/commits{/sha}","git_commits_url":"https://api.github.com/repos/lmr/avocado/git/commits{/sha}","comments_url":"https://api.github.com/repos/lmr/avocado/comments{/number}","issue_comment_url":"https://api.github.com/repos/lmr/avocado/issues/comments/{number}","contents_url":"https://api.github.com/repos/lmr/avocado/contents/{+path}","compare_url":"https://api.github.com/repos/lmr/avocado/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lmr/avocado/merges","archive_url":"https://api.github.com/repos/lmr/avocado/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lmr/avocado/downloads","issues_url":"https://api.github.com/repos/lmr/avocado/issues{/number}","pulls_url":"https://api.github.com/repos/lmr/avocado/pulls{/number}","milestones_url":"https://api.github.com/repos/lmr/avocado/milestones{/number}","notifications_url":"https://api.github.com/repos/lmr/avocado/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lmr/avocado/labels{/name}","releases_url":"https://api.github.com/repos/lmr/avocado/releases{/id}","created_at":"2014-09-25T01:39:41Z","updated_at":"2015-01-28T19:54:07Z","pushed_at":"2015-01-29T00:53:22Z","git_url":"git://github.com/lmr/avocado.git","ssh_url":"git@github.com:lmr/avocado.git","clone_url":"https://github.com/lmr/avocado.git","svn_url":"https://github.com/lmr/avocado","homepage":"http://avocado-framework.readthedocs.org/en/latest/","size":3942,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"avocado-framework:master","ref":"master","sha":"dedadb8ae3744963fc8071a9e27e74d9fd547a0a","user":{"login":"avocado-framework","id":7245719,"avatar_url":"https://avatars.githubusercontent.com/u/7245719?v=3","gravatar_id":"","url":"https://api.github.com/users/avocado-framework","html_url":"https://github.com/avocado-framework","followers_url":"https://api.github.com/users/avocado-framework/followers","following_url":"https://api.github.com/users/avocado-framework/following{/other_user}","gists_url":"https://api.github.com/users/avocado-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/avocado-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avocado-framework/subscriptions","organizations_url":"https://api.github.com/users/avocado-framework/orgs","repos_url":"https://api.github.com/users/avocado-framework/repos","events_url":"https://api.github.com/users/avocado-framework/events{/privacy}","received_events_url":"https://api.github.com/users/avocado-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":17449498,"name":"avocado","full_name":"avocado-framework/avocado","owner":{"login":"avocado-framework","id":7245719,"avatar_url":"https://avatars.githubusercontent.com/u/7245719?v=3","gravatar_id":"","url":"https://api.github.com/users/avocado-framework","html_url":"https://github.com/avocado-framework","followers_url":"https://api.github.com/users/avocado-framework/followers","following_url":"https://api.github.com/users/avocado-framework/following{/other_user}","gists_url":"https://api.github.com/users/avocado-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/avocado-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avocado-framework/subscriptions","organizations_url":"https://api.github.com/users/avocado-framework/orgs","repos_url":"https://api.github.com/users/avocado-framework/repos","events_url":"https://api.github.com/users/avocado-framework/events{/privacy}","received_events_url":"https://api.github.com/users/avocado-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/avocado-framework/avocado","description":"Avocado Test Framework","fork":false,"url":"https://api.github.com/repos/avocado-framework/avocado","forks_url":"https://api.github.com/repos/avocado-framework/avocado/forks","keys_url":"https://api.github.com/repos/avocado-framework/avocado/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avocado-framework/avocado/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avocado-framework/avocado/teams","hooks_url":"https://api.github.com/repos/avocado-framework/avocado/hooks","issue_events_url":"https://api.github.com/repos/avocado-framework/avocado/issues/events{/number}","events_url":"https://api.github.com/repos/avocado-framework/avocado/events","assignees_url":"https://api.github.com/repos/avocado-framework/avocado/assignees{/user}","branches_url":"https://api.github.com/repos/avocado-framework/avocado/branches{/branch}","tags_url":"https://api.github.com/repos/avocado-framework/avocado/tags","blobs_url":"https://api.github.com/repos/avocado-framework/avocado/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avocado-framework/avocado/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avocado-framework/avocado/git/refs{/sha}","trees_url":"https://api.github.com/repos/avocado-framework/avocado/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avocado-framework/avocado/statuses/{sha}","languages_url":"https://api.github.com/repos/avocado-framework/avocado/languages","stargazers_url":"https://api.github.com/repos/avocado-framework/avocado/stargazers","contributors_url":"https://api.github.com/repos/avocado-framework/avocado/contributors","subscribers_url":"https://api.github.com/repos/avocado-framework/avocado/subscribers","subscription_url":"https://api.github.com/repos/avocado-framework/avocado/subscription","commits_url":"https://api.github.com/repos/avocado-framework/avocado/commits{/sha}","git_commits_url":"https://api.github.com/repos/avocado-framework/avocado/git/commits{/sha}","comments_url":"https://api.github.com/repos/avocado-framework/avocado/comments{/number}","issue_comment_url":"https://api.github.com/repos/avocado-framework/avocado/issues/comments/{number}","contents_url":"https://api.github.com/repos/avocado-framework/avocado/contents/{+path}","compare_url":"https://api.github.com/repos/avocado-framework/avocado/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avocado-framework/avocado/merges","archive_url":"https://api.github.com/repos/avocado-framework/avocado/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avocado-framework/avocado/downloads","issues_url":"https://api.github.com/repos/avocado-framework/avocado/issues{/number}","pulls_url":"https://api.github.com/repos/avocado-framework/avocado/pulls{/number}","milestones_url":"https://api.github.com/repos/avocado-framework/avocado/milestones{/number}","notifications_url":"https://api.github.com/repos/avocado-framework/avocado/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avocado-framework/avocado/labels{/name}","releases_url":"https://api.github.com/repos/avocado-framework/avocado/releases{/id}","created_at":"2014-03-05T17:52:27Z","updated_at":"2015-01-29T00:10:10Z","pushed_at":"2015-01-29T00:10:10Z","git_url":"git://github.com/avocado-framework/avocado.git","ssh_url":"git@github.com:avocado-framework/avocado.git","clone_url":"https://github.com/avocado-framework/avocado.git","svn_url":"https://github.com/avocado-framework/avocado","homepage":"http://avocado-framework.github.io/","size":7006,"stargazers_count":17,"watchers_count":17,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":9,"forks":12,"open_issues":9,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/avocado-framework/avocado/pulls/366"},"html":{"href":"https://github.com/avocado-framework/avocado/pull/366"},"issue":{"href":"https://api.github.com/repos/avocado-framework/avocado/issues/366"},"comments":{"href":"https://api.github.com/repos/avocado-framework/avocado/issues/366/comments"},"review_comments":{"href":"https://api.github.com/repos/avocado-framework/avocado/pulls/366/comments"},"review_comment":{"href":"https://api.github.com/repos/avocado-framework/avocado/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/avocado-framework/avocado/pulls/366/commits"},"statuses":{"href":"https://api.github.com/repos/avocado-framework/avocado/statuses/00fde19fc09af752f549136358b0e0fbe9cb29af"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":6,"review_comments":0,"commits":7,"additions":318,"deletions":267,"changed_files":21}}