{"action":"closed","number":57,"pull_request":{"url":"https://api.github.com/repos/xunit/dnx.xunit/pulls/57","id":41274437,"html_url":"https://github.com/xunit/dnx.xunit/pull/57","diff_url":"https://github.com/xunit/dnx.xunit/pull/57.diff","patch_url":"https://github.com/xunit/dnx.xunit/pull/57.patch","issue_url":"https://api.github.com/repos/xunit/dnx.xunit/issues/57","number":57,"state":"closed","locked":false,"title":"Change File.OpenWrite to File.Open with FileMode.Create for XML output","user":{"login":"fdesjardins","id":502491,"avatar_url":"https://avatars.githubusercontent.com/u/502491?v=3","gravatar_id":"","url":"https://api.github.com/users/fdesjardins","html_url":"https://github.com/fdesjardins","followers_url":"https://api.github.com/users/fdesjardins/followers","following_url":"https://api.github.com/users/fdesjardins/following{/other_user}","gists_url":"https://api.github.com/users/fdesjardins/gists{/gist_id}","starred_url":"https://api.github.com/users/fdesjardins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdesjardins/subscriptions","organizations_url":"https://api.github.com/users/fdesjardins/orgs","repos_url":"https://api.github.com/users/fdesjardins/repos","events_url":"https://api.github.com/users/fdesjardins/events{/privacy}","received_events_url":"https://api.github.com/users/fdesjardins/received_events","type":"User","site_admin":false},"body":"If the XML output file already exists, File.OpenWrite will open the file without truncating the contents with the file pointer at the beginning of the file. If the contents of the previous test run are longer than the XML output from the current test run, there will be excess XML left at the end of the file. This will likely make the XML invalid and may cause errors for any tools that parse the XML (e.g., Jenkins). \r\n\r\nThis change ensures that the file will be created or completely overwritten when writing the new test results.","created_at":"2015-07-30T19:49:53Z","updated_at":"2015-08-02T03:41:01Z","closed_at":"2015-08-02T03:41:01Z","merged_at":null,"merge_commit_sha":"b197d64ab16e3fc6aa53e5c004542b168276990c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xunit/dnx.xunit/pulls/57/commits","review_comments_url":"https://api.github.com/repos/xunit/dnx.xunit/pulls/57/comments","review_comment_url":"https://api.github.com/repos/xunit/dnx.xunit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xunit/dnx.xunit/issues/57/comments","statuses_url":"https://api.github.com/repos/xunit/dnx.xunit/statuses/fe5e5bf43e36370ca08d9a52311a50bfa13a38f7","head":{"label":"fdesjardins:fix-xml-output","ref":"fix-xml-output","sha":"fe5e5bf43e36370ca08d9a52311a50bfa13a38f7","user":{"login":"fdesjardins","id":502491,"avatar_url":"https://avatars.githubusercontent.com/u/502491?v=3","gravatar_id":"","url":"https://api.github.com/users/fdesjardins","html_url":"https://github.com/fdesjardins","followers_url":"https://api.github.com/users/fdesjardins/followers","following_url":"https://api.github.com/users/fdesjardins/following{/other_user}","gists_url":"https://api.github.com/users/fdesjardins/gists{/gist_id}","starred_url":"https://api.github.com/users/fdesjardins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdesjardins/subscriptions","organizations_url":"https://api.github.com/users/fdesjardins/orgs","repos_url":"https://api.github.com/users/fdesjardins/repos","events_url":"https://api.github.com/users/fdesjardins/events{/privacy}","received_events_url":"https://api.github.com/users/fdesjardins/received_events","type":"User","site_admin":false},"repo":{"id":39902019,"name":"dnx.xunit","full_name":"fdesjardins/dnx.xunit","owner":{"login":"fdesjardins","id":502491,"avatar_url":"https://avatars.githubusercontent.com/u/502491?v=3","gravatar_id":"","url":"https://api.github.com/users/fdesjardins","html_url":"https://github.com/fdesjardins","followers_url":"https://api.github.com/users/fdesjardins/followers","following_url":"https://api.github.com/users/fdesjardins/following{/other_user}","gists_url":"https://api.github.com/users/fdesjardins/gists{/gist_id}","starred_url":"https://api.github.com/users/fdesjardins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fdesjardins/subscriptions","organizations_url":"https://api.github.com/users/fdesjardins/orgs","repos_url":"https://api.github.com/users/fdesjardins/repos","events_url":"https://api.github.com/users/fdesjardins/events{/privacy}","received_events_url":"https://api.github.com/users/fdesjardins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fdesjardins/dnx.xunit","description":"DNX runner for xUnit.net (please open issues in https://github.com/xunit/xunit)","fork":true,"url":"https://api.github.com/repos/fdesjardins/dnx.xunit","forks_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/forks","keys_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/teams","hooks_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/hooks","issue_events_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/issues/events{/number}","events_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/events","assignees_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/assignees{/user}","branches_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/branches{/branch}","tags_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/tags","blobs_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/git/refs{/sha}","trees_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/statuses/{sha}","languages_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/languages","stargazers_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/stargazers","contributors_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/contributors","subscribers_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/subscribers","subscription_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/subscription","commits_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/commits{/sha}","git_commits_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/git/commits{/sha}","comments_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/comments{/number}","issue_comment_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/issues/comments{/number}","contents_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/contents/{+path}","compare_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/merges","archive_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/downloads","issues_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/issues{/number}","pulls_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/pulls{/number}","milestones_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/milestones{/number}","notifications_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/labels{/name}","releases_url":"https://api.github.com/repos/fdesjardins/dnx.xunit/releases{/id}","created_at":"2015-07-29T15:46:09Z","updated_at":"2015-07-29T15:46:10Z","pushed_at":"2015-07-30T19:43:32Z","git_url":"git://github.com/fdesjardins/dnx.xunit.git","ssh_url":"git@github.com:fdesjardins/dnx.xunit.git","clone_url":"https://github.com/fdesjardins/dnx.xunit.git","svn_url":"https://github.com/fdesjardins/dnx.xunit","homepage":"","size":673,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"xunit:master","ref":"master","sha":"7571cbe8ac7ea9c4a67270370e82911e42d7b1b1","user":{"login":"xunit","id":2092016,"avatar_url":"https://avatars.githubusercontent.com/u/2092016?v=3","gravatar_id":"","url":"https://api.github.com/users/xunit","html_url":"https://github.com/xunit","followers_url":"https://api.github.com/users/xunit/followers","following_url":"https://api.github.com/users/xunit/following{/other_user}","gists_url":"https://api.github.com/users/xunit/gists{/gist_id}","starred_url":"https://api.github.com/users/xunit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xunit/subscriptions","organizations_url":"https://api.github.com/users/xunit/orgs","repos_url":"https://api.github.com/users/xunit/repos","events_url":"https://api.github.com/users/xunit/events{/privacy}","received_events_url":"https://api.github.com/users/xunit/received_events","type":"Organization","site_admin":false},"repo":{"id":27514900,"name":"dnx.xunit","full_name":"xunit/dnx.xunit","owner":{"login":"xunit","id":2092016,"avatar_url":"https://avatars.githubusercontent.com/u/2092016?v=3","gravatar_id":"","url":"https://api.github.com/users/xunit","html_url":"https://github.com/xunit","followers_url":"https://api.github.com/users/xunit/followers","following_url":"https://api.github.com/users/xunit/following{/other_user}","gists_url":"https://api.github.com/users/xunit/gists{/gist_id}","starred_url":"https://api.github.com/users/xunit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xunit/subscriptions","organizations_url":"https://api.github.com/users/xunit/orgs","repos_url":"https://api.github.com/users/xunit/repos","events_url":"https://api.github.com/users/xunit/events{/privacy}","received_events_url":"https://api.github.com/users/xunit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xunit/dnx.xunit","description":"DNX runner for xUnit.net (please open issues in https://github.com/xunit/xunit)","fork":false,"url":"https://api.github.com/repos/xunit/dnx.xunit","forks_url":"https://api.github.com/repos/xunit/dnx.xunit/forks","keys_url":"https://api.github.com/repos/xunit/dnx.xunit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xunit/dnx.xunit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xunit/dnx.xunit/teams","hooks_url":"https://api.github.com/repos/xunit/dnx.xunit/hooks","issue_events_url":"https://api.github.com/repos/xunit/dnx.xunit/issues/events{/number}","events_url":"https://api.github.com/repos/xunit/dnx.xunit/events","assignees_url":"https://api.github.com/repos/xunit/dnx.xunit/assignees{/user}","branches_url":"https://api.github.com/repos/xunit/dnx.xunit/branches{/branch}","tags_url":"https://api.github.com/repos/xunit/dnx.xunit/tags","blobs_url":"https://api.github.com/repos/xunit/dnx.xunit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xunit/dnx.xunit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xunit/dnx.xunit/git/refs{/sha}","trees_url":"https://api.github.com/repos/xunit/dnx.xunit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xunit/dnx.xunit/statuses/{sha}","languages_url":"https://api.github.com/repos/xunit/dnx.xunit/languages","stargazers_url":"https://api.github.com/repos/xunit/dnx.xunit/stargazers","contributors_url":"https://api.github.com/repos/xunit/dnx.xunit/contributors","subscribers_url":"https://api.github.com/repos/xunit/dnx.xunit/subscribers","subscription_url":"https://api.github.com/repos/xunit/dnx.xunit/subscription","commits_url":"https://api.github.com/repos/xunit/dnx.xunit/commits{/sha}","git_commits_url":"https://api.github.com/repos/xunit/dnx.xunit/git/commits{/sha}","comments_url":"https://api.github.com/repos/xunit/dnx.xunit/comments{/number}","issue_comment_url":"https://api.github.com/repos/xunit/dnx.xunit/issues/comments{/number}","contents_url":"https://api.github.com/repos/xunit/dnx.xunit/contents/{+path}","compare_url":"https://api.github.com/repos/xunit/dnx.xunit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xunit/dnx.xunit/merges","archive_url":"https://api.github.com/repos/xunit/dnx.xunit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xunit/dnx.xunit/downloads","issues_url":"https://api.github.com/repos/xunit/dnx.xunit/issues{/number}","pulls_url":"https://api.github.com/repos/xunit/dnx.xunit/pulls{/number}","milestones_url":"https://api.github.com/repos/xunit/dnx.xunit/milestones{/number}","notifications_url":"https://api.github.com/repos/xunit/dnx.xunit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xunit/dnx.xunit/labels{/name}","releases_url":"https://api.github.com/repos/xunit/dnx.xunit/releases{/id}","created_at":"2014-12-04T00:21:13Z","updated_at":"2015-07-29T15:48:00Z","pushed_at":"2015-08-02T03:40:51Z","git_url":"git://github.com/xunit/dnx.xunit.git","ssh_url":"git@github.com:xunit/dnx.xunit.git","clone_url":"https://github.com/xunit/dnx.xunit.git","svn_url":"https://github.com/xunit/dnx.xunit","homepage":"","size":673,"stargazers_count":27,"watchers_count":27,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":2,"forks":20,"open_issues":2,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xunit/dnx.xunit/pulls/57"},"html":{"href":"https://github.com/xunit/dnx.xunit/pull/57"},"issue":{"href":"https://api.github.com/repos/xunit/dnx.xunit/issues/57"},"comments":{"href":"https://api.github.com/repos/xunit/dnx.xunit/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/xunit/dnx.xunit/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/xunit/dnx.xunit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xunit/dnx.xunit/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/xunit/dnx.xunit/statuses/fe5e5bf43e36370ca08d9a52311a50bfa13a38f7"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}