{"action":"created","comment":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments/33358260","id":33358260,"diff_hunk":"@@ -0,0 +1,115 @@\n+/**\n+Advanced unit-testing.\n+\n+Copyright: Atila Neves\n+License: <a href=\"http://www.boost.org/LICENSE_1_0.txt\">Boost License 1.0</a>.\n+Authors: Atila Neves\n+\n+$(D D)'s $(D unittest) blocks are a built-in feature of the language that allows\n+for easy unit testing with no boilerplate. As a program grows it's usual to need\n+or want more advanced testing features, which are provided by this package.\n+\n+The easiest way to run tests with the functionality provided is to have a $(D D)\n+module implementing a $(D main) function similar to this one:\n+\n+-----\n+import std.experimental.testing;\n+\n+int main(string[] args) {\n+     return runTests!(\"name.of.mymodule\",\n+                      \"name.of.other.module\")(args);\n+}\n+-----\n+\n+This will (by default) run all $(D unittest) blocks in the modules passed in as\n+compile-time parameters in multiple threads. Unit tests can be named: to do so\n+simply use the supplied $(D name)\n+<a href=\"http://dlang.org/attribute.html#uda\">UDA</a>. There are other","path":"std/experimental/testing/package.d","position":27,"original_position":27,"commit_id":"6e0b51e6a13aeef5c36e48af54b415e82ed73766","original_commit_id":"6e0b51e6a13aeef5c36e48af54b415e82ed73766","user":{"login":"MetaLang","id":4450317,"avatar_url":"https://avatars.githubusercontent.com/u/4450317?v=3","gravatar_id":"","url":"https://api.github.com/users/MetaLang","html_url":"https://github.com/MetaLang","followers_url":"https://api.github.com/users/MetaLang/followers","following_url":"https://api.github.com/users/MetaLang/following{/other_user}","gists_url":"https://api.github.com/users/MetaLang/gists{/gist_id}","starred_url":"https://api.github.com/users/MetaLang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MetaLang/subscriptions","organizations_url":"https://api.github.com/users/MetaLang/orgs","repos_url":"https://api.github.com/users/MetaLang/repos","events_url":"https://api.github.com/users/MetaLang/events{/privacy}","received_events_url":"https://api.github.com/users/MetaLang/received_events","type":"User","site_admin":false},"body":"I believe you can use `$(LINK2 <url> <name>)`.","created_at":"2015-06-26T14:04:26Z","updated_at":"2015-06-26T14:04:26Z","html_url":"https://github.com/D-Programming-Language/phobos/pull/3207#discussion_r33358260","pull_request_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3207","_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments/33358260"},"html":{"href":"https://github.com/D-Programming-Language/phobos/pull/3207#discussion_r33358260"},"pull_request":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3207"}}},"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3207","id":33665023,"html_url":"https://github.com/D-Programming-Language/phobos/pull/3207","diff_url":"https://github.com/D-Programming-Language/phobos/pull/3207.diff","patch_url":"https://github.com/D-Programming-Language/phobos/pull/3207.patch","issue_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3207","number":3207,"state":"open","locked":false,"title":"Named unittests: Introducing std.experimental.testing","user":{"login":"atilaneves","id":4956425,"avatar_url":"https://avatars.githubusercontent.com/u/4956425?v=3","gravatar_id":"","url":"https://api.github.com/users/atilaneves","html_url":"https://github.com/atilaneves","followers_url":"https://api.github.com/users/atilaneves/followers","following_url":"https://api.github.com/users/atilaneves/following{/other_user}","gists_url":"https://api.github.com/users/atilaneves/gists{/gist_id}","starred_url":"https://api.github.com/users/atilaneves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atilaneves/subscriptions","organizations_url":"https://api.github.com/users/atilaneves/orgs","repos_url":"https://api.github.com/users/atilaneves/repos","events_url":"https://api.github.com/users/atilaneves/events{/privacy}","received_events_url":"https://api.github.com/users/atilaneves/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-20T13:28:00Z","updated_at":"2015-06-26T14:04:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"429cd40ec6535a315c50e5eb7934f14a037bfc0e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3207/commits","review_comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3207/comments","review_comment_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments{/number}","comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3207/comments","statuses_url":"https://api.github.com/repos/D-Programming-Language/phobos/statuses/6e0b51e6a13aeef5c36e48af54b415e82ed73766","head":{"label":"atilaneves:testing_pr","ref":"testing_pr","sha":"6e0b51e6a13aeef5c36e48af54b415e82ed73766","user":{"login":"atilaneves","id":4956425,"avatar_url":"https://avatars.githubusercontent.com/u/4956425?v=3","gravatar_id":"","url":"https://api.github.com/users/atilaneves","html_url":"https://github.com/atilaneves","followers_url":"https://api.github.com/users/atilaneves/followers","following_url":"https://api.github.com/users/atilaneves/following{/other_user}","gists_url":"https://api.github.com/users/atilaneves/gists{/gist_id}","starred_url":"https://api.github.com/users/atilaneves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atilaneves/subscriptions","organizations_url":"https://api.github.com/users/atilaneves/orgs","repos_url":"https://api.github.com/users/atilaneves/repos","events_url":"https://api.github.com/users/atilaneves/events{/privacy}","received_events_url":"https://api.github.com/users/atilaneves/received_events","type":"User","site_admin":false},"repo":{"id":33829573,"name":"phobos","full_name":"atilaneves/phobos","owner":{"login":"atilaneves","id":4956425,"avatar_url":"https://avatars.githubusercontent.com/u/4956425?v=3","gravatar_id":"","url":"https://api.github.com/users/atilaneves","html_url":"https://github.com/atilaneves","followers_url":"https://api.github.com/users/atilaneves/followers","following_url":"https://api.github.com/users/atilaneves/following{/other_user}","gists_url":"https://api.github.com/users/atilaneves/gists{/gist_id}","starred_url":"https://api.github.com/users/atilaneves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atilaneves/subscriptions","organizations_url":"https://api.github.com/users/atilaneves/orgs","repos_url":"https://api.github.com/users/atilaneves/repos","events_url":"https://api.github.com/users/atilaneves/events{/privacy}","received_events_url":"https://api.github.com/users/atilaneves/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atilaneves/phobos","description":"The standard library of the D programming language","fork":true,"url":"https://api.github.com/repos/atilaneves/phobos","forks_url":"https://api.github.com/repos/atilaneves/phobos/forks","keys_url":"https://api.github.com/repos/atilaneves/phobos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atilaneves/phobos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atilaneves/phobos/teams","hooks_url":"https://api.github.com/repos/atilaneves/phobos/hooks","issue_events_url":"https://api.github.com/repos/atilaneves/phobos/issues/events{/number}","events_url":"https://api.github.com/repos/atilaneves/phobos/events","assignees_url":"https://api.github.com/repos/atilaneves/phobos/assignees{/user}","branches_url":"https://api.github.com/repos/atilaneves/phobos/branches{/branch}","tags_url":"https://api.github.com/repos/atilaneves/phobos/tags","blobs_url":"https://api.github.com/repos/atilaneves/phobos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atilaneves/phobos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atilaneves/phobos/git/refs{/sha}","trees_url":"https://api.github.com/repos/atilaneves/phobos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atilaneves/phobos/statuses/{sha}","languages_url":"https://api.github.com/repos/atilaneves/phobos/languages","stargazers_url":"https://api.github.com/repos/atilaneves/phobos/stargazers","contributors_url":"https://api.github.com/repos/atilaneves/phobos/contributors","subscribers_url":"https://api.github.com/repos/atilaneves/phobos/subscribers","subscription_url":"https://api.github.com/repos/atilaneves/phobos/subscription","commits_url":"https://api.github.com/repos/atilaneves/phobos/commits{/sha}","git_commits_url":"https://api.github.com/repos/atilaneves/phobos/git/commits{/sha}","comments_url":"https://api.github.com/repos/atilaneves/phobos/comments{/number}","issue_comment_url":"https://api.github.com/repos/atilaneves/phobos/issues/comments{/number}","contents_url":"https://api.github.com/repos/atilaneves/phobos/contents/{+path}","compare_url":"https://api.github.com/repos/atilaneves/phobos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atilaneves/phobos/merges","archive_url":"https://api.github.com/repos/atilaneves/phobos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atilaneves/phobos/downloads","issues_url":"https://api.github.com/repos/atilaneves/phobos/issues{/number}","pulls_url":"https://api.github.com/repos/atilaneves/phobos/pulls{/number}","milestones_url":"https://api.github.com/repos/atilaneves/phobos/milestones{/number}","notifications_url":"https://api.github.com/repos/atilaneves/phobos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atilaneves/phobos/labels{/name}","releases_url":"https://api.github.com/repos/atilaneves/phobos/releases{/id}","created_at":"2015-04-12T19:03:01Z","updated_at":"2015-06-01T16:05:41Z","pushed_at":"2015-06-26T12:16:05Z","git_url":"git://github.com/atilaneves/phobos.git","ssh_url":"git@github.com:atilaneves/phobos.git","clone_url":"https://github.com/atilaneves/phobos.git","svn_url":"https://github.com/atilaneves/phobos","homepage":"dlang.org/phobos","size":65560,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"D-Programming-Language:master","ref":"master","sha":"a170c46a4d7806bdc22399be9c4efa7201d536d4","user":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"repo":{"id":1257084,"name":"phobos","full_name":"D-Programming-Language/phobos","owner":{"login":"D-Programming-Language","id":565913,"avatar_url":"https://avatars.githubusercontent.com/u/565913?v=3","gravatar_id":"","url":"https://api.github.com/users/D-Programming-Language","html_url":"https://github.com/D-Programming-Language","followers_url":"https://api.github.com/users/D-Programming-Language/followers","following_url":"https://api.github.com/users/D-Programming-Language/following{/other_user}","gists_url":"https://api.github.com/users/D-Programming-Language/gists{/gist_id}","starred_url":"https://api.github.com/users/D-Programming-Language/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/D-Programming-Language/subscriptions","organizations_url":"https://api.github.com/users/D-Programming-Language/orgs","repos_url":"https://api.github.com/users/D-Programming-Language/repos","events_url":"https://api.github.com/users/D-Programming-Language/events{/privacy}","received_events_url":"https://api.github.com/users/D-Programming-Language/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/D-Programming-Language/phobos","description":"The standard library of the D programming language","fork":false,"url":"https://api.github.com/repos/D-Programming-Language/phobos","forks_url":"https://api.github.com/repos/D-Programming-Language/phobos/forks","keys_url":"https://api.github.com/repos/D-Programming-Language/phobos/keys{/key_id}","collaborators_url":"https://api.github.com/repos/D-Programming-Language/phobos/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/D-Programming-Language/phobos/teams","hooks_url":"https://api.github.com/repos/D-Programming-Language/phobos/hooks","issue_events_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/events{/number}","events_url":"https://api.github.com/repos/D-Programming-Language/phobos/events","assignees_url":"https://api.github.com/repos/D-Programming-Language/phobos/assignees{/user}","branches_url":"https://api.github.com/repos/D-Programming-Language/phobos/branches{/branch}","tags_url":"https://api.github.com/repos/D-Programming-Language/phobos/tags","blobs_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/refs{/sha}","trees_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/trees{/sha}","statuses_url":"https://api.github.com/repos/D-Programming-Language/phobos/statuses/{sha}","languages_url":"https://api.github.com/repos/D-Programming-Language/phobos/languages","stargazers_url":"https://api.github.com/repos/D-Programming-Language/phobos/stargazers","contributors_url":"https://api.github.com/repos/D-Programming-Language/phobos/contributors","subscribers_url":"https://api.github.com/repos/D-Programming-Language/phobos/subscribers","subscription_url":"https://api.github.com/repos/D-Programming-Language/phobos/subscription","commits_url":"https://api.github.com/repos/D-Programming-Language/phobos/commits{/sha}","git_commits_url":"https://api.github.com/repos/D-Programming-Language/phobos/git/commits{/sha}","comments_url":"https://api.github.com/repos/D-Programming-Language/phobos/comments{/number}","issue_comment_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues/comments{/number}","contents_url":"https://api.github.com/repos/D-Programming-Language/phobos/contents/{+path}","compare_url":"https://api.github.com/repos/D-Programming-Language/phobos/compare/{base}...{head}","merges_url":"https://api.github.com/repos/D-Programming-Language/phobos/merges","archive_url":"https://api.github.com/repos/D-Programming-Language/phobos/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/D-Programming-Language/phobos/downloads","issues_url":"https://api.github.com/repos/D-Programming-Language/phobos/issues{/number}","pulls_url":"https://api.github.com/repos/D-Programming-Language/phobos/pulls{/number}","milestones_url":"https://api.github.com/repos/D-Programming-Language/phobos/milestones{/number}","notifications_url":"https://api.github.com/repos/D-Programming-Language/phobos/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/D-Programming-Language/phobos/labels{/name}","releases_url":"https://api.github.com/repos/D-Programming-Language/phobos/releases{/id}","created_at":"2011-01-15T07:00:06Z","updated_at":"2015-06-17T14:55:53Z","pushed_at":"2015-06-26T12:16:07Z","git_url":"git://github.com/D-Programming-Language/phobos.git","ssh_url":"git@github.com:D-Programming-Language/phobos.git","clone_url":"https://github.com/D-Programming-Language/phobos.git","svn_url":"https://github.com/D-Programming-Language/phobos","homepage":"dlang.org/phobos","size":87240,"stargazers_count":609,"watchers_count":609,"language":"D","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":409,"mirror_url":null,"open_issues_count":80,"forks":409,"open_issues":80,"watchers":609,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3207"},"html":{"href":"https://github.com/D-Programming-Language/phobos/pull/3207"},"issue":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3207"},"comments":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/issues/3207/comments"},"review_comments":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3207/comments"},"review_comment":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/pulls/3207/commits"},"statuses":{"href":"https://api.github.com/repos/D-Programming-Language/phobos/statuses/6e0b51e6a13aeef5c36e48af54b415e82ed73766"}}}}