{"action":"closed","number":920,"pull_request":{"url":"https://api.github.com/repos/pester/Pester/pulls/920","id":147571136,"node_id":"MDExOlB1bGxSZXF1ZXN0MTQ3NTcxMTM2","html_url":"https://github.com/pester/Pester/pull/920","diff_url":"https://github.com/pester/Pester/pull/920.diff","patch_url":"https://github.com/pester/Pester/pull/920.patch","issue_url":"https://api.github.com/repos/pester/Pester/issues/920","number":920,"state":"closed","locked":false,"title":"Added detailed code coverage. ","user":{"login":"jonkeda","id":3007180,"node_id":"MDQ6VXNlcjMwMDcxODA=","avatar_url":"https://avatars2.githubusercontent.com/u/3007180?v=4","gravatar_id":"","url":"https://api.github.com/users/jonkeda","html_url":"https://github.com/jonkeda","followers_url":"https://api.github.com/users/jonkeda/followers","following_url":"https://api.github.com/users/jonkeda/following{/other_user}","gists_url":"https://api.github.com/users/jonkeda/gists{/gist_id}","starred_url":"https://api.github.com/users/jonkeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonkeda/subscriptions","organizations_url":"https://api.github.com/users/jonkeda/orgs","repos_url":"https://api.github.com/users/jonkeda/repos","events_url":"https://api.github.com/users/jonkeda/events{/privacy}","received_events_url":"https://api.github.com/users/jonkeda/received_events","type":"User","site_admin":false},"body":"Hi mr Wyatt,\r\n\r\nI added a switch -DetailedCodeCoverage to the Invoke-Pester command. If this switch is on then the JaCoCo codecoverage file will have additional data. Per sourcefile a line counter and each line covered or missed numbers are added to the export of de JaCoCo codecoverage file. Furthermore the lines will not be printed to the console.\r\n\r\nThe JaCoCo reader can be used to view the covered and missed percentages and show the sourcefiles with red and green line coloring.\r\n\r\nThis tool can be found here: https://visualstudiogallery.msdn.microsoft.com/14da4aa2-e833-4f1d-8765-0d3d79fd08a3?redir=0\r\n\r\nOne unittest was added to check the creation of the right data.\r\n\r\nAs an example run the following:\r\n\r\n1. Invoke-Pester ** -CodeCoverage Pester.psm1 -detailedcodecoverage -CodeCoverageOutputFile pestercc.xml\r\n2. And view the pestercc.xml with the JaCoCo Reader.\r\n\r\nNext step is to add the code coverage reader functionality to the PoshTools.\r\n\r\nLet me also thank you for Pester.\r\n\r\nKind regards,\r\nDaan Jonkers\r\n","created_at":"2017-10-19T14:25:53Z","updated_at":"2018-12-12T09:14:58Z","closed_at":"2018-12-12T09:14:58Z","merged_at":"2018-12-12T09:14:58Z","merge_commit_sha":"ac0ccb1c81a5dd9fe19e94b8ab70c24ad174103a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":675140872,"node_id":"MDU6TGFiZWw2NzUxNDA4NzI=","url":"https://api.github.com/repos/pester/Pester/labels/Code%20coverage","name":"Code coverage","color":"fef2c0","default":false},{"id":671362476,"node_id":"MDU6TGFiZWw2NzEzNjI0NzY=","url":"https://api.github.com/repos/pester/Pester/labels/Output%20and%20CI","name":"Output and CI","color":"1d76db","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/pester/Pester/pulls/920/commits","review_comments_url":"https://api.github.com/repos/pester/Pester/pulls/920/comments","review_comment_url":"https://api.github.com/repos/pester/Pester/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pester/Pester/issues/920/comments","statuses_url":"https://api.github.com/repos/pester/Pester/statuses/5e352b81c23722d07929e169483956a9f3e385c7","head":{"label":"jonkeda:master","ref":"master","sha":"5e352b81c23722d07929e169483956a9f3e385c7","user":{"login":"jonkeda","id":3007180,"node_id":"MDQ6VXNlcjMwMDcxODA=","avatar_url":"https://avatars2.githubusercontent.com/u/3007180?v=4","gravatar_id":"","url":"https://api.github.com/users/jonkeda","html_url":"https://github.com/jonkeda","followers_url":"https://api.github.com/users/jonkeda/followers","following_url":"https://api.github.com/users/jonkeda/following{/other_user}","gists_url":"https://api.github.com/users/jonkeda/gists{/gist_id}","starred_url":"https://api.github.com/users/jonkeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonkeda/subscriptions","organizations_url":"https://api.github.com/users/jonkeda/orgs","repos_url":"https://api.github.com/users/jonkeda/repos","events_url":"https://api.github.com/users/jonkeda/events{/privacy}","received_events_url":"https://api.github.com/users/jonkeda/received_events","type":"User","site_admin":false},"repo":{"id":107239426,"node_id":"MDEwOlJlcG9zaXRvcnkxMDcyMzk0MjY=","name":"Pester","full_name":"jonkeda/Pester","private":false,"owner":{"login":"jonkeda","id":3007180,"node_id":"MDQ6VXNlcjMwMDcxODA=","avatar_url":"https://avatars2.githubusercontent.com/u/3007180?v=4","gravatar_id":"","url":"https://api.github.com/users/jonkeda","html_url":"https://github.com/jonkeda","followers_url":"https://api.github.com/users/jonkeda/followers","following_url":"https://api.github.com/users/jonkeda/following{/other_user}","gists_url":"https://api.github.com/users/jonkeda/gists{/gist_id}","starred_url":"https://api.github.com/users/jonkeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonkeda/subscriptions","organizations_url":"https://api.github.com/users/jonkeda/orgs","repos_url":"https://api.github.com/users/jonkeda/repos","events_url":"https://api.github.com/users/jonkeda/events{/privacy}","received_events_url":"https://api.github.com/users/jonkeda/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jonkeda/Pester","description":"PowerShell BDD style testing framework","fork":true,"url":"https://api.github.com/repos/jonkeda/Pester","forks_url":"https://api.github.com/repos/jonkeda/Pester/forks","keys_url":"https://api.github.com/repos/jonkeda/Pester/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonkeda/Pester/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonkeda/Pester/teams","hooks_url":"https://api.github.com/repos/jonkeda/Pester/hooks","issue_events_url":"https://api.github.com/repos/jonkeda/Pester/issues/events{/number}","events_url":"https://api.github.com/repos/jonkeda/Pester/events","assignees_url":"https://api.github.com/repos/jonkeda/Pester/assignees{/user}","branches_url":"https://api.github.com/repos/jonkeda/Pester/branches{/branch}","tags_url":"https://api.github.com/repos/jonkeda/Pester/tags","blobs_url":"https://api.github.com/repos/jonkeda/Pester/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonkeda/Pester/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonkeda/Pester/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonkeda/Pester/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonkeda/Pester/statuses/{sha}","languages_url":"https://api.github.com/repos/jonkeda/Pester/languages","stargazers_url":"https://api.github.com/repos/jonkeda/Pester/stargazers","contributors_url":"https://api.github.com/repos/jonkeda/Pester/contributors","subscribers_url":"https://api.github.com/repos/jonkeda/Pester/subscribers","subscription_url":"https://api.github.com/repos/jonkeda/Pester/subscription","commits_url":"https://api.github.com/repos/jonkeda/Pester/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonkeda/Pester/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonkeda/Pester/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonkeda/Pester/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonkeda/Pester/contents/{+path}","compare_url":"https://api.github.com/repos/jonkeda/Pester/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonkeda/Pester/merges","archive_url":"https://api.github.com/repos/jonkeda/Pester/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonkeda/Pester/downloads","issues_url":"https://api.github.com/repos/jonkeda/Pester/issues{/number}","pulls_url":"https://api.github.com/repos/jonkeda/Pester/pulls{/number}","milestones_url":"https://api.github.com/repos/jonkeda/Pester/milestones{/number}","notifications_url":"https://api.github.com/repos/jonkeda/Pester/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonkeda/Pester/labels{/name}","releases_url":"https://api.github.com/repos/jonkeda/Pester/releases{/id}","deployments_url":"https://api.github.com/repos/jonkeda/Pester/deployments","created_at":"2017-10-17T08:24:34Z","updated_at":"2018-07-24T00:20:42Z","pushed_at":"2018-07-24T00:20:40Z","git_url":"git://github.com/jonkeda/Pester.git","ssh_url":"git@github.com:jonkeda/Pester.git","clone_url":"https://github.com/jonkeda/Pester.git","svn_url":"https://github.com/jonkeda/Pester","homepage":"","size":13481,"stargazers_count":0,"watchers_count":0,"language":"PowerShell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pester:master","ref":"master","sha":"fa72416c216fd51b712401b2693c7461e2d644c4","user":{"login":"pester","id":2376848,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNzY4NDg=","avatar_url":"https://avatars3.githubusercontent.com/u/2376848?v=4","gravatar_id":"","url":"https://api.github.com/users/pester","html_url":"https://github.com/pester","followers_url":"https://api.github.com/users/pester/followers","following_url":"https://api.github.com/users/pester/following{/other_user}","gists_url":"https://api.github.com/users/pester/gists{/gist_id}","starred_url":"https://api.github.com/users/pester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pester/subscriptions","organizations_url":"https://api.github.com/users/pester/orgs","repos_url":"https://api.github.com/users/pester/repos","events_url":"https://api.github.com/users/pester/events{/privacy}","received_events_url":"https://api.github.com/users/pester/received_events","type":"Organization","site_admin":false},"repo":{"id":1213474,"node_id":"MDEwOlJlcG9zaXRvcnkxMjEzNDc0","name":"Pester","full_name":"pester/Pester","private":false,"owner":{"login":"pester","id":2376848,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzNzY4NDg=","avatar_url":"https://avatars3.githubusercontent.com/u/2376848?v=4","gravatar_id":"","url":"https://api.github.com/users/pester","html_url":"https://github.com/pester","followers_url":"https://api.github.com/users/pester/followers","following_url":"https://api.github.com/users/pester/following{/other_user}","gists_url":"https://api.github.com/users/pester/gists{/gist_id}","starred_url":"https://api.github.com/users/pester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pester/subscriptions","organizations_url":"https://api.github.com/users/pester/orgs","repos_url":"https://api.github.com/users/pester/repos","events_url":"https://api.github.com/users/pester/events{/privacy}","received_events_url":"https://api.github.com/users/pester/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/pester/Pester","description":"Pester is the ubiquitous test and mock framework for PowerShell.","fork":false,"url":"https://api.github.com/repos/pester/Pester","forks_url":"https://api.github.com/repos/pester/Pester/forks","keys_url":"https://api.github.com/repos/pester/Pester/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pester/Pester/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pester/Pester/teams","hooks_url":"https://api.github.com/repos/pester/Pester/hooks","issue_events_url":"https://api.github.com/repos/pester/Pester/issues/events{/number}","events_url":"https://api.github.com/repos/pester/Pester/events","assignees_url":"https://api.github.com/repos/pester/Pester/assignees{/user}","branches_url":"https://api.github.com/repos/pester/Pester/branches{/branch}","tags_url":"https://api.github.com/repos/pester/Pester/tags","blobs_url":"https://api.github.com/repos/pester/Pester/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pester/Pester/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pester/Pester/git/refs{/sha}","trees_url":"https://api.github.com/repos/pester/Pester/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pester/Pester/statuses/{sha}","languages_url":"https://api.github.com/repos/pester/Pester/languages","stargazers_url":"https://api.github.com/repos/pester/Pester/stargazers","contributors_url":"https://api.github.com/repos/pester/Pester/contributors","subscribers_url":"https://api.github.com/repos/pester/Pester/subscribers","subscription_url":"https://api.github.com/repos/pester/Pester/subscription","commits_url":"https://api.github.com/repos/pester/Pester/commits{/sha}","git_commits_url":"https://api.github.com/repos/pester/Pester/git/commits{/sha}","comments_url":"https://api.github.com/repos/pester/Pester/comments{/number}","issue_comment_url":"https://api.github.com/repos/pester/Pester/issues/comments{/number}","contents_url":"https://api.github.com/repos/pester/Pester/contents/{+path}","compare_url":"https://api.github.com/repos/pester/Pester/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pester/Pester/merges","archive_url":"https://api.github.com/repos/pester/Pester/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pester/Pester/downloads","issues_url":"https://api.github.com/repos/pester/Pester/issues{/number}","pulls_url":"https://api.github.com/repos/pester/Pester/pulls{/number}","milestones_url":"https://api.github.com/repos/pester/Pester/milestones{/number}","notifications_url":"https://api.github.com/repos/pester/Pester/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pester/Pester/labels{/name}","releases_url":"https://api.github.com/repos/pester/Pester/releases{/id}","deployments_url":"https://api.github.com/repos/pester/Pester/deployments","created_at":"2011-01-02T03:33:19Z","updated_at":"2018-12-11T22:28:14Z","pushed_at":"2018-12-12T09:14:58Z","git_url":"git://github.com/pester/Pester.git","ssh_url":"git@github.com:pester/Pester.git","clone_url":"https://github.com/pester/Pester.git","svn_url":"https://github.com/pester/Pester","homepage":"","size":15279,"stargazers_count":1631,"watchers_count":1631,"language":"PowerShell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":309,"mirror_url":null,"archived":false,"open_issues_count":166,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":309,"open_issues":166,"watchers":1631,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pester/Pester/pulls/920"},"html":{"href":"https://github.com/pester/Pester/pull/920"},"issue":{"href":"https://api.github.com/repos/pester/Pester/issues/920"},"comments":{"href":"https://api.github.com/repos/pester/Pester/issues/920/comments"},"review_comments":{"href":"https://api.github.com/repos/pester/Pester/pulls/920/comments"},"review_comment":{"href":"https://api.github.com/repos/pester/Pester/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pester/Pester/pulls/920/commits"},"statuses":{"href":"https://api.github.com/repos/pester/Pester/statuses/5e352b81c23722d07929e169483956a9f3e385c7"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"nohwnd","id":5735905,"node_id":"MDQ6VXNlcjU3MzU5MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/5735905?v=4","gravatar_id":"","url":"https://api.github.com/users/nohwnd","html_url":"https://github.com/nohwnd","followers_url":"https://api.github.com/users/nohwnd/followers","following_url":"https://api.github.com/users/nohwnd/following{/other_user}","gists_url":"https://api.github.com/users/nohwnd/gists{/gist_id}","starred_url":"https://api.github.com/users/nohwnd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nohwnd/subscriptions","organizations_url":"https://api.github.com/users/nohwnd/orgs","repos_url":"https://api.github.com/users/nohwnd/repos","events_url":"https://api.github.com/users/nohwnd/events{/privacy}","received_events_url":"https://api.github.com/users/nohwnd/received_events","type":"User","site_admin":false},"comments":8,"review_comments":2,"maintainer_can_modify":false,"commits":4,"additions":280,"deletions":8,"changed_files":7}}
{"actor":{"display_login":"nohwnd"}}