{"action":"created","comment":{"url":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/comments/26424122","id":26424122,"diff_hunk":"@@ -221,6 +222,23 @@ public static String getLastMethodOutput() {\n \t}\n \n \t/**\n+\t * Gets everything the tested class printed through {@code Terminal.printLine} during the last method run, grouped\n+\t * per <i>input</i> command. This means: If {@code n} Strings have been added for input through\n+\t * {@link #setNextMethodCallInput(String[])}¹, this method's returned array will consist of {@code n+1} String\n+\t * arrays. The first of these arrays will consist of the output printed <i>before</i> the tested class read the\n+\t * first command. From there, the {@code i}th String array will consist of the output printed after the tested class\n+\t * read the {@code i}th command. Each String in the String arrays corresponds to one call to","path":"src/test/TestObject.java","position":47,"original_position":47,"commit_id":"76b0c9888752864e34addbcc294e67dfa7356466","original_commit_id":"76b0c9888752864e34addbcc294e67dfa7356466","user":{"login":"jGleitz","id":4305652,"avatar_url":"https://avatars.githubusercontent.com/u/4305652?v=3","gravatar_id":"","url":"https://api.github.com/users/jGleitz","html_url":"https://github.com/jGleitz","followers_url":"https://api.github.com/users/jGleitz/followers","following_url":"https://api.github.com/users/jGleitz/following{/other_user}","gists_url":"https://api.github.com/users/jGleitz/gists{/gist_id}","starred_url":"https://api.github.com/users/jGleitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGleitz/subscriptions","organizations_url":"https://api.github.com/users/jGleitz/orgs","repos_url":"https://api.github.com/users/jGleitz/repos","events_url":"https://api.github.com/users/jGleitz/events{/privacy}","received_events_url":"https://api.github.com/users/jGleitz/received_events","type":"User","site_admin":false},"body":"Depends on your definition. But groupedOutput[1] will be the output of the first command. (Becaus groupedOutput [0] was before the first command).","created_at":"2015-03-13T21:23:05Z","updated_at":"2015-03-13T21:23:05Z","html_url":"https://github.com/jGleitz/JUnit-KIT/pull/81#discussion_r26424122","pull_request_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/comments/26424122"},"html":{"href":"https://github.com/jGleitz/JUnit-KIT/pull/81#discussion_r26424122"},"pull_request":{"href":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/81","id":31160273,"html_url":"https://github.com/jGleitz/JUnit-KIT/pull/81","diff_url":"https://github.com/jGleitz/JUnit-KIT/pull/81.diff","patch_url":"https://github.com/jGleitz/JUnit-KIT/pull/81.patch","issue_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/issues/81","number":81,"state":"open","locked":false,"title":"Exact yet easy syntax for tests","user":{"login":"jGleitz","id":4305652,"avatar_url":"https://avatars.githubusercontent.com/u/4305652?v=3","gravatar_id":"","url":"https://api.github.com/users/jGleitz","html_url":"https://github.com/jGleitz","followers_url":"https://api.github.com/users/jGleitz/followers","following_url":"https://api.github.com/users/jGleitz/following{/other_user}","gists_url":"https://api.github.com/users/jGleitz/gists{/gist_id}","starred_url":"https://api.github.com/users/jGleitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGleitz/subscriptions","organizations_url":"https://api.github.com/users/jGleitz/orgs","repos_url":"https://api.github.com/users/jGleitz/repos","events_url":"https://api.github.com/users/jGleitz/events{/privacy}","received_events_url":"https://api.github.com/users/jGleitz/received_events","type":"User","site_admin":false},"body":"This pull introduces a new syntax to write tests, that is more precise yet better readable. \r\n\r\nAs the API was enhanced and not changed, this pull should not introduce any regressions.\r\nAddresses #74.\r\n\r\n**This pull is completely untested yet. Please try it out and report whether it works and if you like it!**\r\n\r\nExample:\r\n```java\r\n//@formatter:off\r\nruns = getRuns(\r\n    new LineRun(\"command1\", is(\"line1\"), startsWith(\"line2Prefix\"), is(\"line3\")),\r\n    new ErrorRun(\"errorCommand\"),\r\n    new NoOutputRun(\"silentCommand\"),\r\n    new ExactRun(\"command2\", is(\"first\"), startstWith(\"secondPrefix\"), is(\"last\"))\r\n);\r\nsessionRun(runs, args0);\r\n//@formatter:on\r\n```\r\nMore examples will follow in the docs and the wiki.","created_at":"2015-03-13T20:18:39Z","updated_at":"2015-03-13T21:23:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df1b3f62801ca12955e6aa6e5257e2d2cd2f3517","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/81/commits","review_comments_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/81/comments","review_comment_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/issues/81/comments","statuses_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/statuses/76b0c9888752864e34addbcc294e67dfa7356466","head":{"label":"jGleitz:framework-refactor","ref":"framework-refactor","sha":"76b0c9888752864e34addbcc294e67dfa7356466","user":{"login":"jGleitz","id":4305652,"avatar_url":"https://avatars.githubusercontent.com/u/4305652?v=3","gravatar_id":"","url":"https://api.github.com/users/jGleitz","html_url":"https://github.com/jGleitz","followers_url":"https://api.github.com/users/jGleitz/followers","following_url":"https://api.github.com/users/jGleitz/following{/other_user}","gists_url":"https://api.github.com/users/jGleitz/gists{/gist_id}","starred_url":"https://api.github.com/users/jGleitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGleitz/subscriptions","organizations_url":"https://api.github.com/users/jGleitz/orgs","repos_url":"https://api.github.com/users/jGleitz/repos","events_url":"https://api.github.com/users/jGleitz/events{/privacy}","received_events_url":"https://api.github.com/users/jGleitz/received_events","type":"User","site_admin":false},"repo":{"id":29206793,"name":"JUnit-KIT","full_name":"jGleitz/JUnit-KIT","owner":{"login":"jGleitz","id":4305652,"avatar_url":"https://avatars.githubusercontent.com/u/4305652?v=3","gravatar_id":"","url":"https://api.github.com/users/jGleitz","html_url":"https://github.com/jGleitz","followers_url":"https://api.github.com/users/jGleitz/followers","following_url":"https://api.github.com/users/jGleitz/following{/other_user}","gists_url":"https://api.github.com/users/jGleitz/gists{/gist_id}","starred_url":"https://api.github.com/users/jGleitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGleitz/subscriptions","organizations_url":"https://api.github.com/users/jGleitz/orgs","repos_url":"https://api.github.com/users/jGleitz/repos","events_url":"https://api.github.com/users/jGleitz/events{/privacy}","received_events_url":"https://api.github.com/users/jGleitz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jGleitz/JUnit-KIT","description":"Tests for the Tasks of the Programming Lecture for first semesters at the Karlsruhe Institute for Technology, winter semester 14/15. Among the tests themselves, this repository contains helpfull classes for testing unknown implementations.","fork":false,"url":"https://api.github.com/repos/jGleitz/JUnit-KIT","forks_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/forks","keys_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/teams","hooks_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/hooks","issue_events_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/issues/events{/number}","events_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/events","assignees_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/assignees{/user}","branches_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/branches{/branch}","tags_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/tags","blobs_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/git/refs{/sha}","trees_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/statuses/{sha}","languages_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/languages","stargazers_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/stargazers","contributors_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/contributors","subscribers_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/subscribers","subscription_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/subscription","commits_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/commits{/sha}","git_commits_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/git/commits{/sha}","comments_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/comments{/number}","issue_comment_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/issues/comments{/number}","contents_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/contents/{+path}","compare_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/merges","archive_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/downloads","issues_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/issues{/number}","pulls_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls{/number}","milestones_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/milestones{/number}","notifications_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/labels{/name}","releases_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/releases{/id}","created_at":"2015-01-13T19:25:43Z","updated_at":"2015-03-13T12:46:07Z","pushed_at":"2015-03-13T21:20:23Z","git_url":"git://github.com/jGleitz/JUnit-KIT.git","ssh_url":"git@github.com:jGleitz/JUnit-KIT.git","clone_url":"https://github.com/jGleitz/JUnit-KIT.git","svn_url":"https://github.com/jGleitz/JUnit-KIT","homepage":"","size":9118,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":21,"forks":6,"open_issues":21,"watchers":4,"default_branch":"master"}},"base":{"label":"jGleitz:development","ref":"development","sha":"08760e85fe3101dea8a97235c30c670cad8ab08d","user":{"login":"jGleitz","id":4305652,"avatar_url":"https://avatars.githubusercontent.com/u/4305652?v=3","gravatar_id":"","url":"https://api.github.com/users/jGleitz","html_url":"https://github.com/jGleitz","followers_url":"https://api.github.com/users/jGleitz/followers","following_url":"https://api.github.com/users/jGleitz/following{/other_user}","gists_url":"https://api.github.com/users/jGleitz/gists{/gist_id}","starred_url":"https://api.github.com/users/jGleitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGleitz/subscriptions","organizations_url":"https://api.github.com/users/jGleitz/orgs","repos_url":"https://api.github.com/users/jGleitz/repos","events_url":"https://api.github.com/users/jGleitz/events{/privacy}","received_events_url":"https://api.github.com/users/jGleitz/received_events","type":"User","site_admin":false},"repo":{"id":29206793,"name":"JUnit-KIT","full_name":"jGleitz/JUnit-KIT","owner":{"login":"jGleitz","id":4305652,"avatar_url":"https://avatars.githubusercontent.com/u/4305652?v=3","gravatar_id":"","url":"https://api.github.com/users/jGleitz","html_url":"https://github.com/jGleitz","followers_url":"https://api.github.com/users/jGleitz/followers","following_url":"https://api.github.com/users/jGleitz/following{/other_user}","gists_url":"https://api.github.com/users/jGleitz/gists{/gist_id}","starred_url":"https://api.github.com/users/jGleitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGleitz/subscriptions","organizations_url":"https://api.github.com/users/jGleitz/orgs","repos_url":"https://api.github.com/users/jGleitz/repos","events_url":"https://api.github.com/users/jGleitz/events{/privacy}","received_events_url":"https://api.github.com/users/jGleitz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jGleitz/JUnit-KIT","description":"Tests for the Tasks of the Programming Lecture for first semesters at the Karlsruhe Institute for Technology, winter semester 14/15. Among the tests themselves, this repository contains helpfull classes for testing unknown implementations.","fork":false,"url":"https://api.github.com/repos/jGleitz/JUnit-KIT","forks_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/forks","keys_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/teams","hooks_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/hooks","issue_events_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/issues/events{/number}","events_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/events","assignees_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/assignees{/user}","branches_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/branches{/branch}","tags_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/tags","blobs_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/git/refs{/sha}","trees_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/statuses/{sha}","languages_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/languages","stargazers_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/stargazers","contributors_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/contributors","subscribers_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/subscribers","subscription_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/subscription","commits_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/commits{/sha}","git_commits_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/git/commits{/sha}","comments_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/comments{/number}","issue_comment_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/issues/comments{/number}","contents_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/contents/{+path}","compare_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/merges","archive_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/downloads","issues_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/issues{/number}","pulls_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls{/number}","milestones_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/milestones{/number}","notifications_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/labels{/name}","releases_url":"https://api.github.com/repos/jGleitz/JUnit-KIT/releases{/id}","created_at":"2015-01-13T19:25:43Z","updated_at":"2015-03-13T12:46:07Z","pushed_at":"2015-03-13T21:20:23Z","git_url":"git://github.com/jGleitz/JUnit-KIT.git","ssh_url":"git@github.com:jGleitz/JUnit-KIT.git","clone_url":"https://github.com/jGleitz/JUnit-KIT.git","svn_url":"https://github.com/jGleitz/JUnit-KIT","homepage":"","size":9118,"stargazers_count":4,"watchers_count":4,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":21,"forks":6,"open_issues":21,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/81"},"html":{"href":"https://github.com/jGleitz/JUnit-KIT/pull/81"},"issue":{"href":"https://api.github.com/repos/jGleitz/JUnit-KIT/issues/81"},"comments":{"href":"https://api.github.com/repos/jGleitz/JUnit-KIT/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jGleitz/JUnit-KIT/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/jGleitz/JUnit-KIT/statuses/76b0c9888752864e34addbcc294e67dfa7356466"}}}}