payload: {"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/AArnott/Xunit.StaFact/pulls/37","id":349674487,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ5Njc0NDg3","html_url":"https://github.com/AArnott/Xunit.StaFact/pull/37","diff_url":"https://github.com/AArnott/Xunit.StaFact/pull/37.diff","patch_url":"https://github.com/AArnott/Xunit.StaFact/pull/37.patch","issue_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/issues/37","number":37,"state":"closed","locked":false,"title":"fix: StaTheory not supported in VS","user":{"login":"RussKie","id":4403806,"node_id":"MDQ6VXNlcjQ0MDM4MDY=","avatar_url":"https://avatars3.githubusercontent.com/u/4403806?v=4","gravatar_id":"","url":"https://api.github.com/users/RussKie","html_url":"https://github.com/RussKie","followers_url":"https://api.github.com/users/RussKie/followers","following_url":"https://api.github.com/users/RussKie/following{/other_user}","gists_url":"https://api.github.com/users/RussKie/gists{/gist_id}","starred_url":"https://api.github.com/users/RussKie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussKie/subscriptions","organizations_url":"https://api.github.com/users/RussKie/orgs","repos_url":"https://api.github.com/users/RussKie/repos","events_url":"https://api.github.com/users/RussKie/events{/privacy}","received_events_url":"https://api.github.com/users/RussKie/received_events","type":"User","site_admin":false},"body":"The following test would not be executable:\r\n\r\n    public class WebBrowserTests\r\n    {\r\n        public static IEnumerable<object[]> TestData()\r\n        {\r\n            yield return new object[] { null };\r\n            yield return new object[] { new object() };\r\n        }\r\n\r\n        [StaTheory]\r\n        [MemberData(nameof(TestData))]\r\n        public void TheoryTest(object parent)\r\n        {\r\n            Assert.Null(parent);\r\n        }\r\n    }\r\n\r\nThe error message indicates that the test cannot be deserialised:\r\n\r\n\tTest case WebBrowserTests failed to deserialize: Test case deserialization failure: System.InvalidOperationException: Could not de-serialize type 'Xunit.Sdk.UITheoryTestCase' because it lacks a parameterless constructor.\r\n\t   at Xunit.Serialization.XunitSerializationInfo.DeserializeSerializable(Type type, String serializedValue)\r\n\t   at Xunit.Serialization.XunitSerializationInfo.Deserialize(Type type, String serializedValue)\r\n\t   at Xunit.Sdk.SerializationHelper.Deserialize[T](String serializedValue)\r\n\t   at Xunit.Sdk.XunitTestFrameworkExecutor.Deserialize(String value)\r\n\t   at Xunit.Sdk.TestCaseBulkDeserializer.Deserialize(ITestFrameworkDiscoverer discoverer, ITestFrameworkExecutor executor, String serialization)\r\n\r\nAdd serialisation plumbing to fix the issue.\r\n\r\nFixes #30\r\n\r\n\r\nI've tested the fix on the WinForms repo, and I was able to run all tests.","created_at":"2019-12-05T22:26:30Z","updated_at":"2019-12-11T15:36:09Z","closed_at":"2019-12-11T15:36:09Z","merged_at":"2019-12-11T15:36:09Z","merge_commit_sha":"f9cce14d93e4530485766c09fa6f57a8ecfd0c1d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/pulls/37/commits","review_comments_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/pulls/37/comments","review_comment_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/issues/37/comments","statuses_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/statuses/e9dfc75419575fda1ee79853f17734b2f583f9ab","head":{"label":"RussKie:fix_30_StaTheory_not_supported","ref":"fix_30_StaTheory_not_supported","sha":"e9dfc75419575fda1ee79853f17734b2f583f9ab","user":{"login":"RussKie","id":4403806,"node_id":"MDQ6VXNlcjQ0MDM4MDY=","avatar_url":"https://avatars3.githubusercontent.com/u/4403806?v=4","gravatar_id":"","url":"https://api.github.com/users/RussKie","html_url":"https://github.com/RussKie","followers_url":"https://api.github.com/users/RussKie/followers","following_url":"https://api.github.com/users/RussKie/following{/other_user}","gists_url":"https://api.github.com/users/RussKie/gists{/gist_id}","starred_url":"https://api.github.com/users/RussKie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussKie/subscriptions","organizations_url":"https://api.github.com/users/RussKie/orgs","repos_url":"https://api.github.com/users/RussKie/repos","events_url":"https://api.github.com/users/RussKie/events{/privacy}","received_events_url":"https://api.github.com/users/RussKie/received_events","type":"User","site_admin":false},"repo":{"id":226199434,"node_id":"MDEwOlJlcG9zaXRvcnkyMjYxOTk0MzQ=","name":"Xunit.StaFact","full_name":"RussKie/Xunit.StaFact","private":false,"owner":{"login":"RussKie","id":4403806,"node_id":"MDQ6VXNlcjQ0MDM4MDY=","avatar_url":"https://avatars3.githubusercontent.com/u/4403806?v=4","gravatar_id":"","url":"https://api.github.com/users/RussKie","html_url":"https://github.com/RussKie","followers_url":"https://api.github.com/users/RussKie/followers","following_url":"https://api.github.com/users/RussKie/following{/other_user}","gists_url":"https://api.github.com/users/RussKie/gists{/gist_id}","starred_url":"https://api.github.com/users/RussKie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussKie/subscriptions","organizations_url":"https://api.github.com/users/RussKie/orgs","repos_url":"https://api.github.com/users/RussKie/repos","events_url":"https://api.github.com/users/RussKie/events{/privacy}","received_events_url":"https://api.github.com/users/RussKie/received_events","type":"User","site_admin":false},"html_url":"https://github.com/RussKie/Xunit.StaFact","description":"Run xunit tests on STA thread with various SynchronizationContexts to emulate windowing applications for more reliable unit testing.","fork":true,"url":"https://api.github.com/repos/RussKie/Xunit.StaFact","forks_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/forks","keys_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/teams","hooks_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/hooks","issue_events_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/issues/events{/number}","events_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/events","assignees_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/assignees{/user}","branches_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/branches{/branch}","tags_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/tags","blobs_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/git/refs{/sha}","trees_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/statuses/{sha}","languages_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/languages","stargazers_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/stargazers","contributors_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/contributors","subscribers_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/subscribers","subscription_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/subscription","commits_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/commits{/sha}","git_commits_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/git/commits{/sha}","comments_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/comments{/number}","issue_comment_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/issues/comments{/number}","contents_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/contents/{+path}","compare_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/merges","archive_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/downloads","issues_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/issues{/number}","pulls_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/pulls{/number}","milestones_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/milestones{/number}","notifications_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/labels{/name}","releases_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/releases{/id}","deployments_url":"https://api.github.com/repos/RussKie/Xunit.StaFact/deployments","created_at":"2019-12-05T22:24:23Z","updated_at":"2019-12-05T22:24:25Z","pushed_at":"2019-12-05T22:25:18Z","git_url":"git://github.com/RussKie/Xunit.StaFact.git","ssh_url":"git@github.com:RussKie/Xunit.StaFact.git","clone_url":"https://github.com/RussKie/Xunit.StaFact.git","svn_url":"https://github.com/RussKie/Xunit.StaFact","homepage":null,"size":202,"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,"archived":false,"disabled":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":"AArnott:master","ref":"master","sha":"4c7e49524382d53895c3fd158554fdee74367ca6","user":{"login":"AArnott","id":3548,"node_id":"MDQ6VXNlcjM1NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/3548?v=4","gravatar_id":"","url":"https://api.github.com/users/AArnott","html_url":"https://github.com/AArnott","followers_url":"https://api.github.com/users/AArnott/followers","following_url":"https://api.github.com/users/AArnott/following{/other_user}","gists_url":"https://api.github.com/users/AArnott/gists{/gist_id}","starred_url":"https://api.github.com/users/AArnott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AArnott/subscriptions","organizations_url":"https://api.github.com/users/AArnott/orgs","repos_url":"https://api.github.com/users/AArnott/repos","events_url":"https://api.github.com/users/AArnott/events{/privacy}","received_events_url":"https://api.github.com/users/AArnott/received_events","type":"User","site_admin":false},"repo":{"id":50272212,"node_id":"MDEwOlJlcG9zaXRvcnk1MDI3MjIxMg==","name":"Xunit.StaFact","full_name":"AArnott/Xunit.StaFact","private":false,"owner":{"login":"AArnott","id":3548,"node_id":"MDQ6VXNlcjM1NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/3548?v=4","gravatar_id":"","url":"https://api.github.com/users/AArnott","html_url":"https://github.com/AArnott","followers_url":"https://api.github.com/users/AArnott/followers","following_url":"https://api.github.com/users/AArnott/following{/other_user}","gists_url":"https://api.github.com/users/AArnott/gists{/gist_id}","starred_url":"https://api.github.com/users/AArnott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AArnott/subscriptions","organizations_url":"https://api.github.com/users/AArnott/orgs","repos_url":"https://api.github.com/users/AArnott/repos","events_url":"https://api.github.com/users/AArnott/events{/privacy}","received_events_url":"https://api.github.com/users/AArnott/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AArnott/Xunit.StaFact","description":"Run xunit tests on STA thread with various SynchronizationContexts to emulate windowing applications for more reliable unit testing.","fork":false,"url":"https://api.github.com/repos/AArnott/Xunit.StaFact","forks_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/forks","keys_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/teams","hooks_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/hooks","issue_events_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/issues/events{/number}","events_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/events","assignees_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/assignees{/user}","branches_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/branches{/branch}","tags_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/tags","blobs_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/git/refs{/sha}","trees_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/statuses/{sha}","languages_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/languages","stargazers_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/stargazers","contributors_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/contributors","subscribers_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/subscribers","subscription_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/subscription","commits_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/commits{/sha}","git_commits_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/git/commits{/sha}","comments_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/comments{/number}","issue_comment_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/issues/comments{/number}","contents_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/contents/{+path}","compare_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/merges","archive_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/downloads","issues_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/issues{/number}","pulls_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/pulls{/number}","milestones_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/milestones{/number}","notifications_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/labels{/name}","releases_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/releases{/id}","deployments_url":"https://api.github.com/repos/AArnott/Xunit.StaFact/deployments","created_at":"2016-01-24T04:33:23Z","updated_at":"2019-10-27T18:24:45Z","pushed_at":"2019-12-11T15:36:09Z","git_url":"git://github.com/AArnott/Xunit.StaFact.git","ssh_url":"git@github.com:AArnott/Xunit.StaFact.git","clone_url":"https://github.com/AArnott/Xunit.StaFact.git","svn_url":"https://github.com/AArnott/Xunit.StaFact","homepage":null,"size":200,"stargazers_count":27,"watchers_count":27,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":17,"open_issues":2,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AArnott/Xunit.StaFact/pulls/37"},"html":{"href":"https://github.com/AArnott/Xunit.StaFact/pull/37"},"issue":{"href":"https://api.github.com/repos/AArnott/Xunit.StaFact/issues/37"},"comments":{"href":"https://api.github.com/repos/AArnott/Xunit.StaFact/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/AArnott/Xunit.StaFact/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/AArnott/Xunit.StaFact/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AArnott/Xunit.StaFact/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/AArnott/Xunit.StaFact/statuses/e9dfc75419575fda1ee79853f17734b2f583f9ab"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"AArnott","id":3548,"node_id":"MDQ6VXNlcjM1NDg=","avatar_url":"https://avatars2.githubusercontent.com/u/3548?v=4","gravatar_id":"","url":"https://api.github.com/users/AArnott","html_url":"https://github.com/AArnott","followers_url":"https://api.github.com/users/AArnott/followers","following_url":"https://api.github.com/users/AArnott/following{/other_user}","gists_url":"https://api.github.com/users/AArnott/gists{/gist_id}","starred_url":"https://api.github.com/users/AArnott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AArnott/subscriptions","organizations_url":"https://api.github.com/users/AArnott/orgs","repos_url":"https://api.github.com/users/AArnott/repos","events_url":"https://api.github.com/users/AArnott/events{/privacy}","received_events_url":"https://api.github.com/users/AArnott/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":23,"deletions":1,"changed_files":1}}
other: {"actor":{"display_login":"AArnott"}}