{"action":"created","comment":{"url":"https://api.github.com/repos/CodinGame/rust/pulls/comments/125424301","pull_request_review_id":47810977,"id":125424301,"diff_hunk":"@@ -54,9 +54,11 @@ pub mod uppercase;\n In the markdown file, the unit test can be called using:\n \n ```markdown\n-@[Test uppercase]({\"stubs\":[\"uppercase.rs\"], \"command\":\"cargo test\"})\n+@[Test uppercase]({\"stubs\":[\"uppercase.rs\"], \"buildCommand\": \"cargo build\", \"command\":\"cargo test string_tests::test_to_upper\"})\n ```\n \n+We specify a `buildCommand` to build the code in advance. The `command` only runs the `string_tests::test_to_upper` test here: this allows us to use the same code throughout the playground and illustrate different aspects of the code with a specific test for each run.","path":"README.md","position":null,"original_position":8,"commit_id":"3ad527f6bfd96d93540f66fa47996d4a340dc700","original_commit_id":"3ad527f6bfd96d93540f66fa47996d4a340dc700","user":{"login":"fraisse","id":715242,"avatar_url":"https://avatars1.githubusercontent.com/u/715242?v=3","gravatar_id":"","url":"https://api.github.com/users/fraisse","html_url":"https://github.com/fraisse","followers_url":"https://api.github.com/users/fraisse/followers","following_url":"https://api.github.com/users/fraisse/following{/other_user}","gists_url":"https://api.github.com/users/fraisse/gists{/gist_id}","starred_url":"https://api.github.com/users/fraisse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fraisse/subscriptions","organizations_url":"https://api.github.com/users/fraisse/orgs","repos_url":"https://api.github.com/users/fraisse/repos","events_url":"https://api.github.com/users/fraisse/events{/privacy}","received_events_url":"https://api.github.com/users/fraisse/received_events","type":"User","site_admin":false},"body":"I'm sorry, I was not too precise… The `buildCommand` is on the `techio.yml` file. It is called once when you build your image.","created_at":"2017-07-04T09:06:24Z","updated_at":"2017-07-04T09:06:39Z","html_url":"https://github.com/CodinGame/rust/pull/4#discussion_r125424301","pull_request_url":"https://api.github.com/repos/CodinGame/rust/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/CodinGame/rust/pulls/comments/125424301"},"html":{"href":"https://github.com/CodinGame/rust/pull/4#discussion_r125424301"},"pull_request":{"href":"https://api.github.com/repos/CodinGame/rust/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/CodinGame/rust/pulls/4","id":128598524,"html_url":"https://github.com/CodinGame/rust/pull/4","diff_url":"https://github.com/CodinGame/rust/pull/4.diff","patch_url":"https://github.com/CodinGame/rust/pull/4.patch","issue_url":"https://api.github.com/repos/CodinGame/rust/issues/4","number":4,"state":"open","locked":false,"title":"filled in the README based on the rust-cargo-runner README","user":{"login":"mwz-cg","id":29456600,"avatar_url":"https://avatars1.githubusercontent.com/u/29456600?v=3","gravatar_id":"","url":"https://api.github.com/users/mwz-cg","html_url":"https://github.com/mwz-cg","followers_url":"https://api.github.com/users/mwz-cg/followers","following_url":"https://api.github.com/users/mwz-cg/following{/other_user}","gists_url":"https://api.github.com/users/mwz-cg/gists{/gist_id}","starred_url":"https://api.github.com/users/mwz-cg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwz-cg/subscriptions","organizations_url":"https://api.github.com/users/mwz-cg/orgs","repos_url":"https://api.github.com/users/mwz-cg/repos","events_url":"https://api.github.com/users/mwz-cg/events{/privacy}","received_events_url":"https://api.github.com/users/mwz-cg/received_events","type":"User","site_admin":false},"body":"I'm not sure about the project structure, which does not match what we do in the template. Should we change it here?\r\n\r\nAlso, this is a minor thing, but normally you would put this kind of test (like `test_to_upper`) in the same file as the `to_upper` function.","created_at":"2017-07-03T10:28:30Z","updated_at":"2017-07-04T09:06:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf7667fff05864b0a57008beb68f785c38b302b7","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/CodinGame/rust/pulls/4/commits","review_comments_url":"https://api.github.com/repos/CodinGame/rust/pulls/4/comments","review_comment_url":"https://api.github.com/repos/CodinGame/rust/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CodinGame/rust/issues/4/comments","statuses_url":"https://api.github.com/repos/CodinGame/rust/statuses/3ad527f6bfd96d93540f66fa47996d4a340dc700","head":{"label":"mwz-cg:add-readme","ref":"add-readme","sha":"3ad527f6bfd96d93540f66fa47996d4a340dc700","user":{"login":"mwz-cg","id":29456600,"avatar_url":"https://avatars1.githubusercontent.com/u/29456600?v=3","gravatar_id":"","url":"https://api.github.com/users/mwz-cg","html_url":"https://github.com/mwz-cg","followers_url":"https://api.github.com/users/mwz-cg/followers","following_url":"https://api.github.com/users/mwz-cg/following{/other_user}","gists_url":"https://api.github.com/users/mwz-cg/gists{/gist_id}","starred_url":"https://api.github.com/users/mwz-cg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwz-cg/subscriptions","organizations_url":"https://api.github.com/users/mwz-cg/orgs","repos_url":"https://api.github.com/users/mwz-cg/repos","events_url":"https://api.github.com/users/mwz-cg/events{/privacy}","received_events_url":"https://api.github.com/users/mwz-cg/received_events","type":"User","site_admin":false},"repo":{"id":96097291,"name":"rust","full_name":"mwz-cg/rust","owner":{"login":"mwz-cg","id":29456600,"avatar_url":"https://avatars1.githubusercontent.com/u/29456600?v=3","gravatar_id":"","url":"https://api.github.com/users/mwz-cg","html_url":"https://github.com/mwz-cg","followers_url":"https://api.github.com/users/mwz-cg/followers","following_url":"https://api.github.com/users/mwz-cg/following{/other_user}","gists_url":"https://api.github.com/users/mwz-cg/gists{/gist_id}","starred_url":"https://api.github.com/users/mwz-cg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwz-cg/subscriptions","organizations_url":"https://api.github.com/users/mwz-cg/orgs","repos_url":"https://api.github.com/users/mwz-cg/repos","events_url":"https://api.github.com/users/mwz-cg/events{/privacy}","received_events_url":"https://api.github.com/users/mwz-cg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwz-cg/rust","description":"Docker image for Rust","fork":true,"url":"https://api.github.com/repos/mwz-cg/rust","forks_url":"https://api.github.com/repos/mwz-cg/rust/forks","keys_url":"https://api.github.com/repos/mwz-cg/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwz-cg/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwz-cg/rust/teams","hooks_url":"https://api.github.com/repos/mwz-cg/rust/hooks","issue_events_url":"https://api.github.com/repos/mwz-cg/rust/issues/events{/number}","events_url":"https://api.github.com/repos/mwz-cg/rust/events","assignees_url":"https://api.github.com/repos/mwz-cg/rust/assignees{/user}","branches_url":"https://api.github.com/repos/mwz-cg/rust/branches{/branch}","tags_url":"https://api.github.com/repos/mwz-cg/rust/tags","blobs_url":"https://api.github.com/repos/mwz-cg/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwz-cg/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwz-cg/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwz-cg/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwz-cg/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/mwz-cg/rust/languages","stargazers_url":"https://api.github.com/repos/mwz-cg/rust/stargazers","contributors_url":"https://api.github.com/repos/mwz-cg/rust/contributors","subscribers_url":"https://api.github.com/repos/mwz-cg/rust/subscribers","subscription_url":"https://api.github.com/repos/mwz-cg/rust/subscription","commits_url":"https://api.github.com/repos/mwz-cg/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwz-cg/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwz-cg/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwz-cg/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwz-cg/rust/contents/{+path}","compare_url":"https://api.github.com/repos/mwz-cg/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwz-cg/rust/merges","archive_url":"https://api.github.com/repos/mwz-cg/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwz-cg/rust/downloads","issues_url":"https://api.github.com/repos/mwz-cg/rust/issues{/number}","pulls_url":"https://api.github.com/repos/mwz-cg/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/mwz-cg/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/mwz-cg/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwz-cg/rust/labels{/name}","releases_url":"https://api.github.com/repos/mwz-cg/rust/releases{/id}","deployments_url":"https://api.github.com/repos/mwz-cg/rust/deployments","created_at":"2017-07-03T10:01:27Z","updated_at":"2017-07-03T12:26:30Z","pushed_at":"2017-07-04T08:44:09Z","git_url":"git://github.com/mwz-cg/rust.git","ssh_url":"git@github.com:mwz-cg/rust.git","clone_url":"https://github.com/mwz-cg/rust.git","svn_url":"https://github.com/mwz-cg/rust","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"CodinGame:master","ref":"master","sha":"d9f6bb23689d12e54c52b29e8495d99f4ddc89a0","user":{"login":"CodinGame","id":6946974,"avatar_url":"https://avatars1.githubusercontent.com/u/6946974?v=3","gravatar_id":"","url":"https://api.github.com/users/CodinGame","html_url":"https://github.com/CodinGame","followers_url":"https://api.github.com/users/CodinGame/followers","following_url":"https://api.github.com/users/CodinGame/following{/other_user}","gists_url":"https://api.github.com/users/CodinGame/gists{/gist_id}","starred_url":"https://api.github.com/users/CodinGame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodinGame/subscriptions","organizations_url":"https://api.github.com/users/CodinGame/orgs","repos_url":"https://api.github.com/users/CodinGame/repos","events_url":"https://api.github.com/users/CodinGame/events{/privacy}","received_events_url":"https://api.github.com/users/CodinGame/received_events","type":"Organization","site_admin":false},"repo":{"id":81836169,"name":"rust","full_name":"CodinGame/rust","owner":{"login":"CodinGame","id":6946974,"avatar_url":"https://avatars1.githubusercontent.com/u/6946974?v=3","gravatar_id":"","url":"https://api.github.com/users/CodinGame","html_url":"https://github.com/CodinGame","followers_url":"https://api.github.com/users/CodinGame/followers","following_url":"https://api.github.com/users/CodinGame/following{/other_user}","gists_url":"https://api.github.com/users/CodinGame/gists{/gist_id}","starred_url":"https://api.github.com/users/CodinGame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodinGame/subscriptions","organizations_url":"https://api.github.com/users/CodinGame/orgs","repos_url":"https://api.github.com/users/CodinGame/repos","events_url":"https://api.github.com/users/CodinGame/events{/privacy}","received_events_url":"https://api.github.com/users/CodinGame/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CodinGame/rust","description":"Docker image for Rust","fork":false,"url":"https://api.github.com/repos/CodinGame/rust","forks_url":"https://api.github.com/repos/CodinGame/rust/forks","keys_url":"https://api.github.com/repos/CodinGame/rust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CodinGame/rust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CodinGame/rust/teams","hooks_url":"https://api.github.com/repos/CodinGame/rust/hooks","issue_events_url":"https://api.github.com/repos/CodinGame/rust/issues/events{/number}","events_url":"https://api.github.com/repos/CodinGame/rust/events","assignees_url":"https://api.github.com/repos/CodinGame/rust/assignees{/user}","branches_url":"https://api.github.com/repos/CodinGame/rust/branches{/branch}","tags_url":"https://api.github.com/repos/CodinGame/rust/tags","blobs_url":"https://api.github.com/repos/CodinGame/rust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CodinGame/rust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CodinGame/rust/git/refs{/sha}","trees_url":"https://api.github.com/repos/CodinGame/rust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CodinGame/rust/statuses/{sha}","languages_url":"https://api.github.com/repos/CodinGame/rust/languages","stargazers_url":"https://api.github.com/repos/CodinGame/rust/stargazers","contributors_url":"https://api.github.com/repos/CodinGame/rust/contributors","subscribers_url":"https://api.github.com/repos/CodinGame/rust/subscribers","subscription_url":"https://api.github.com/repos/CodinGame/rust/subscription","commits_url":"https://api.github.com/repos/CodinGame/rust/commits{/sha}","git_commits_url":"https://api.github.com/repos/CodinGame/rust/git/commits{/sha}","comments_url":"https://api.github.com/repos/CodinGame/rust/comments{/number}","issue_comment_url":"https://api.github.com/repos/CodinGame/rust/issues/comments{/number}","contents_url":"https://api.github.com/repos/CodinGame/rust/contents/{+path}","compare_url":"https://api.github.com/repos/CodinGame/rust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CodinGame/rust/merges","archive_url":"https://api.github.com/repos/CodinGame/rust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CodinGame/rust/downloads","issues_url":"https://api.github.com/repos/CodinGame/rust/issues{/number}","pulls_url":"https://api.github.com/repos/CodinGame/rust/pulls{/number}","milestones_url":"https://api.github.com/repos/CodinGame/rust/milestones{/number}","notifications_url":"https://api.github.com/repos/CodinGame/rust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CodinGame/rust/labels{/name}","releases_url":"https://api.github.com/repos/CodinGame/rust/releases{/id}","deployments_url":"https://api.github.com/repos/CodinGame/rust/deployments","created_at":"2017-02-13T14:53:59Z","updated_at":"2017-07-03T12:26:34Z","pushed_at":"2017-07-04T08:44:11Z","git_url":"git://github.com/CodinGame/rust.git","ssh_url":"git@github.com:CodinGame/rust.git","clone_url":"https://github.com/CodinGame/rust.git","svn_url":"https://github.com/CodinGame/rust","homepage":null,"size":2,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CodinGame/rust/pulls/4"},"html":{"href":"https://github.com/CodinGame/rust/pull/4"},"issue":{"href":"https://api.github.com/repos/CodinGame/rust/issues/4"},"comments":{"href":"https://api.github.com/repos/CodinGame/rust/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/CodinGame/rust/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/CodinGame/rust/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CodinGame/rust/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/CodinGame/rust/statuses/3ad527f6bfd96d93540f66fa47996d4a340dc700"}}}}
{"actor":{"display_login":"fraisse"}}