{"action":"closed","number":2197,"pull_request":{"url":"https://api.github.com/repos/mbedmicro/mbed/pulls/2197","id":78168157,"html_url":"https://github.com/mbedmicro/mbed/pull/2197","diff_url":"https://github.com/mbedmicro/mbed/pull/2197.diff","patch_url":"https://github.com/mbedmicro/mbed/pull/2197.patch","issue_url":"https://api.github.com/repos/mbedmicro/mbed/issues/2197","number":2197,"state":"closed","locked":false,"title":"Adding test frameworks and test sources","user":{"login":"bridadan","id":3123977,"avatar_url":"https://avatars.githubusercontent.com/u/3123977?v=3","gravatar_id":"","url":"https://api.github.com/users/bridadan","html_url":"https://github.com/bridadan","followers_url":"https://api.github.com/users/bridadan/followers","following_url":"https://api.github.com/users/bridadan/following{/other_user}","gists_url":"https://api.github.com/users/bridadan/gists{/gist_id}","starred_url":"https://api.github.com/users/bridadan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bridadan/subscriptions","organizations_url":"https://api.github.com/users/bridadan/orgs","repos_url":"https://api.github.com/users/bridadan/repos","events_url":"https://api.github.com/users/bridadan/events{/privacy}","received_events_url":"https://api.github.com/users/bridadan/received_events","type":"User","site_admin":false},"body":"This commit adds the following test frameworks:\r\n\r\n- `greentea-client` (https://github.com/ARMmbed/greentea-client)\r\n  - This framework provides a key-value api for communicating with the\r\n    greentea test tool (https://github.com/ARMmbed/greentea)\r\n- `unity` (https://github.com/ARMmbed/unity)\r\n  - This framework provides test assert macros that can be used when\r\n    writing test cases\r\n- `utest` (https://github.com/ARMmbed/utest)\r\n  - This framework allows you to execute a series of test cases with\r\n    reporting that works with the greentea test tool\r\n    (https://github.com/ARMmbed/greentea)\r\n\r\nThe following changes were made when brining these frameworks into the\r\ntree:\r\n\r\n- References to `mbed_drivers/mbed.h` within utest's tests were migrated\r\n  to `mbed.h`\r\n- The yotta file `module.json` was removed from `greentea-client` and\r\n  `unity`\r\n  - `coverage.json` was also removed from `greentea-client`\r\n- Apache 2.0 license files were removed from `greentea-client`\r\n\r\nThis also bringings in a number of tests that have been newly written or ported from various sources:\r\n\r\n- `TESTS/integration` - Very basic tests, used to check if testing frameworks are working correctly\r\n- `TESTS/mbed_drivers` (Thanks @PrzemekWirkus!) - TESTS ported from mbed OS 3.0 (https://github.com/ARMmbed/mbed-drivers)\r\n- `TESTS/mbedmicro-mbed` (Thanks @PrzemekWirkus!) - Tests that weren't covered by `TESTS/mbed_drivers` that currently live in `libraries/tests/mbed`\r\n- `TESTS/mbedmicro-rtos-mbed` (Thanks @PrzemekWirkus!) - Ported tests that currently live in `libraries/tests/rtos/mbed`\r\n- `TESTS/storage_abstraction` (Thanks @rgrover!) - Tests for the storage_abstraction hal\r\n\r\nPlease review @adbridge \r\nFYI @sg- @0xc0170 ","created_at":"2016-07-20T15:28:48Z","updated_at":"2016-07-20T18:19:58Z","closed_at":"2016-07-20T18:19:58Z","merged_at":"2016-07-20T18:19:58Z","merge_commit_sha":"48c1d2eb7a8df369de682e8ac1a9a0a03c7dde9b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mbedmicro/mbed/pulls/2197/commits","review_comments_url":"https://api.github.com/repos/mbedmicro/mbed/pulls/2197/comments","review_comment_url":"https://api.github.com/repos/mbedmicro/mbed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mbedmicro/mbed/issues/2197/comments","statuses_url":"https://api.github.com/repos/mbedmicro/mbed/statuses/a9eb39dee4c2546d9d4640da78f41e7d2a301736","head":{"label":"bridadan:tests-and-frameworks","ref":"tests-and-frameworks","sha":"a9eb39dee4c2546d9d4640da78f41e7d2a301736","user":{"login":"bridadan","id":3123977,"avatar_url":"https://avatars.githubusercontent.com/u/3123977?v=3","gravatar_id":"","url":"https://api.github.com/users/bridadan","html_url":"https://github.com/bridadan","followers_url":"https://api.github.com/users/bridadan/followers","following_url":"https://api.github.com/users/bridadan/following{/other_user}","gists_url":"https://api.github.com/users/bridadan/gists{/gist_id}","starred_url":"https://api.github.com/users/bridadan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bridadan/subscriptions","organizations_url":"https://api.github.com/users/bridadan/orgs","repos_url":"https://api.github.com/users/bridadan/repos","events_url":"https://api.github.com/users/bridadan/events{/privacy}","received_events_url":"https://api.github.com/users/bridadan/received_events","type":"User","site_admin":false},"repo":{"id":31221716,"name":"mbed","full_name":"bridadan/mbed","owner":{"login":"bridadan","id":3123977,"avatar_url":"https://avatars.githubusercontent.com/u/3123977?v=3","gravatar_id":"","url":"https://api.github.com/users/bridadan","html_url":"https://github.com/bridadan","followers_url":"https://api.github.com/users/bridadan/followers","following_url":"https://api.github.com/users/bridadan/following{/other_user}","gists_url":"https://api.github.com/users/bridadan/gists{/gist_id}","starred_url":"https://api.github.com/users/bridadan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bridadan/subscriptions","organizations_url":"https://api.github.com/users/bridadan/orgs","repos_url":"https://api.github.com/users/bridadan/repos","events_url":"https://api.github.com/users/bridadan/events{/privacy}","received_events_url":"https://api.github.com/users/bridadan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bridadan/mbed","description":"mbed libraries and tools","fork":true,"url":"https://api.github.com/repos/bridadan/mbed","forks_url":"https://api.github.com/repos/bridadan/mbed/forks","keys_url":"https://api.github.com/repos/bridadan/mbed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bridadan/mbed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bridadan/mbed/teams","hooks_url":"https://api.github.com/repos/bridadan/mbed/hooks","issue_events_url":"https://api.github.com/repos/bridadan/mbed/issues/events{/number}","events_url":"https://api.github.com/repos/bridadan/mbed/events","assignees_url":"https://api.github.com/repos/bridadan/mbed/assignees{/user}","branches_url":"https://api.github.com/repos/bridadan/mbed/branches{/branch}","tags_url":"https://api.github.com/repos/bridadan/mbed/tags","blobs_url":"https://api.github.com/repos/bridadan/mbed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bridadan/mbed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bridadan/mbed/git/refs{/sha}","trees_url":"https://api.github.com/repos/bridadan/mbed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bridadan/mbed/statuses/{sha}","languages_url":"https://api.github.com/repos/bridadan/mbed/languages","stargazers_url":"https://api.github.com/repos/bridadan/mbed/stargazers","contributors_url":"https://api.github.com/repos/bridadan/mbed/contributors","subscribers_url":"https://api.github.com/repos/bridadan/mbed/subscribers","subscription_url":"https://api.github.com/repos/bridadan/mbed/subscription","commits_url":"https://api.github.com/repos/bridadan/mbed/commits{/sha}","git_commits_url":"https://api.github.com/repos/bridadan/mbed/git/commits{/sha}","comments_url":"https://api.github.com/repos/bridadan/mbed/comments{/number}","issue_comment_url":"https://api.github.com/repos/bridadan/mbed/issues/comments{/number}","contents_url":"https://api.github.com/repos/bridadan/mbed/contents/{+path}","compare_url":"https://api.github.com/repos/bridadan/mbed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bridadan/mbed/merges","archive_url":"https://api.github.com/repos/bridadan/mbed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bridadan/mbed/downloads","issues_url":"https://api.github.com/repos/bridadan/mbed/issues{/number}","pulls_url":"https://api.github.com/repos/bridadan/mbed/pulls{/number}","milestones_url":"https://api.github.com/repos/bridadan/mbed/milestones{/number}","notifications_url":"https://api.github.com/repos/bridadan/mbed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bridadan/mbed/labels{/name}","releases_url":"https://api.github.com/repos/bridadan/mbed/releases{/id}","deployments_url":"https://api.github.com/repos/bridadan/mbed/deployments","created_at":"2015-02-23T18:09:54Z","updated_at":"2016-02-22T21:41:48Z","pushed_at":"2016-07-20T17:42:18Z","git_url":"git://github.com/bridadan/mbed.git","ssh_url":"git@github.com:bridadan/mbed.git","clone_url":"https://github.com/bridadan/mbed.git","svn_url":"https://github.com/bridadan/mbed","homepage":null,"size":48362,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mbedmicro:master","ref":"master","sha":"51540d08d57e27441b8d088a7191435940a0123c","user":{"login":"mbedmicro","id":3626466,"avatar_url":"https://avatars.githubusercontent.com/u/3626466?v=3","gravatar_id":"","url":"https://api.github.com/users/mbedmicro","html_url":"https://github.com/mbedmicro","followers_url":"https://api.github.com/users/mbedmicro/followers","following_url":"https://api.github.com/users/mbedmicro/following{/other_user}","gists_url":"https://api.github.com/users/mbedmicro/gists{/gist_id}","starred_url":"https://api.github.com/users/mbedmicro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbedmicro/subscriptions","organizations_url":"https://api.github.com/users/mbedmicro/orgs","repos_url":"https://api.github.com/users/mbedmicro/repos","events_url":"https://api.github.com/users/mbedmicro/events{/privacy}","received_events_url":"https://api.github.com/users/mbedmicro/received_events","type":"Organization","site_admin":false},"repo":{"id":8270972,"name":"mbed","full_name":"mbedmicro/mbed","owner":{"login":"mbedmicro","id":3626466,"avatar_url":"https://avatars.githubusercontent.com/u/3626466?v=3","gravatar_id":"","url":"https://api.github.com/users/mbedmicro","html_url":"https://github.com/mbedmicro","followers_url":"https://api.github.com/users/mbedmicro/followers","following_url":"https://api.github.com/users/mbedmicro/following{/other_user}","gists_url":"https://api.github.com/users/mbedmicro/gists{/gist_id}","starred_url":"https://api.github.com/users/mbedmicro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbedmicro/subscriptions","organizations_url":"https://api.github.com/users/mbedmicro/orgs","repos_url":"https://api.github.com/users/mbedmicro/repos","events_url":"https://api.github.com/users/mbedmicro/events{/privacy}","received_events_url":"https://api.github.com/users/mbedmicro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mbedmicro/mbed","description":"mbed libraries and tools (Classic). For mbed OS, look here: https://www.mbed.com/en/development/software/mbed-os/","fork":false,"url":"https://api.github.com/repos/mbedmicro/mbed","forks_url":"https://api.github.com/repos/mbedmicro/mbed/forks","keys_url":"https://api.github.com/repos/mbedmicro/mbed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mbedmicro/mbed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mbedmicro/mbed/teams","hooks_url":"https://api.github.com/repos/mbedmicro/mbed/hooks","issue_events_url":"https://api.github.com/repos/mbedmicro/mbed/issues/events{/number}","events_url":"https://api.github.com/repos/mbedmicro/mbed/events","assignees_url":"https://api.github.com/repos/mbedmicro/mbed/assignees{/user}","branches_url":"https://api.github.com/repos/mbedmicro/mbed/branches{/branch}","tags_url":"https://api.github.com/repos/mbedmicro/mbed/tags","blobs_url":"https://api.github.com/repos/mbedmicro/mbed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mbedmicro/mbed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mbedmicro/mbed/git/refs{/sha}","trees_url":"https://api.github.com/repos/mbedmicro/mbed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mbedmicro/mbed/statuses/{sha}","languages_url":"https://api.github.com/repos/mbedmicro/mbed/languages","stargazers_url":"https://api.github.com/repos/mbedmicro/mbed/stargazers","contributors_url":"https://api.github.com/repos/mbedmicro/mbed/contributors","subscribers_url":"https://api.github.com/repos/mbedmicro/mbed/subscribers","subscription_url":"https://api.github.com/repos/mbedmicro/mbed/subscription","commits_url":"https://api.github.com/repos/mbedmicro/mbed/commits{/sha}","git_commits_url":"https://api.github.com/repos/mbedmicro/mbed/git/commits{/sha}","comments_url":"https://api.github.com/repos/mbedmicro/mbed/comments{/number}","issue_comment_url":"https://api.github.com/repos/mbedmicro/mbed/issues/comments{/number}","contents_url":"https://api.github.com/repos/mbedmicro/mbed/contents/{+path}","compare_url":"https://api.github.com/repos/mbedmicro/mbed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mbedmicro/mbed/merges","archive_url":"https://api.github.com/repos/mbedmicro/mbed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mbedmicro/mbed/downloads","issues_url":"https://api.github.com/repos/mbedmicro/mbed/issues{/number}","pulls_url":"https://api.github.com/repos/mbedmicro/mbed/pulls{/number}","milestones_url":"https://api.github.com/repos/mbedmicro/mbed/milestones{/number}","notifications_url":"https://api.github.com/repos/mbedmicro/mbed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mbedmicro/mbed/labels{/name}","releases_url":"https://api.github.com/repos/mbedmicro/mbed/releases{/id}","deployments_url":"https://api.github.com/repos/mbedmicro/mbed/deployments","created_at":"2013-02-18T15:23:11Z","updated_at":"2016-07-20T13:15:30Z","pushed_at":"2016-07-20T18:19:58Z","git_url":"git://github.com/mbedmicro/mbed.git","ssh_url":"git@github.com:mbedmicro/mbed.git","clone_url":"https://github.com/mbedmicro/mbed.git","svn_url":"https://github.com/mbedmicro/mbed","homepage":"","size":60762,"stargazers_count":678,"watchers_count":678,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":688,"mirror_url":null,"open_issues_count":264,"forks":688,"open_issues":264,"watchers":678,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mbedmicro/mbed/pulls/2197"},"html":{"href":"https://github.com/mbedmicro/mbed/pull/2197"},"issue":{"href":"https://api.github.com/repos/mbedmicro/mbed/issues/2197"},"comments":{"href":"https://api.github.com/repos/mbedmicro/mbed/issues/2197/comments"},"review_comments":{"href":"https://api.github.com/repos/mbedmicro/mbed/pulls/2197/comments"},"review_comment":{"href":"https://api.github.com/repos/mbedmicro/mbed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mbedmicro/mbed/pulls/2197/commits"},"statuses":{"href":"https://api.github.com/repos/mbedmicro/mbed/statuses/a9eb39dee4c2546d9d4640da78f41e7d2a301736"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sg-","id":496002,"avatar_url":"https://avatars.githubusercontent.com/u/496002?v=3","gravatar_id":"","url":"https://api.github.com/users/sg-","html_url":"https://github.com/sg-","followers_url":"https://api.github.com/users/sg-/followers","following_url":"https://api.github.com/users/sg-/following{/other_user}","gists_url":"https://api.github.com/users/sg-/gists{/gist_id}","starred_url":"https://api.github.com/users/sg-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sg-/subscriptions","organizations_url":"https://api.github.com/users/sg-/orgs","repos_url":"https://api.github.com/users/sg-/repos","events_url":"https://api.github.com/users/sg-/events{/privacy}","received_events_url":"https://api.github.com/users/sg-/received_events","type":"User","site_admin":false},"comments":11,"review_comments":0,"commits":1,"additions":11311,"deletions":0,"changed_files":77}}
{"actor":{"display_login":"sg-"}}