{"action":"created","issue":{"url":"https://api.github.com/repos/tfsaggregator/tfsaggregator/issues/92","labels_url":"https://api.github.com/repos/tfsaggregator/tfsaggregator/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/tfsaggregator/tfsaggregator/issues/92/comments","events_url":"https://api.github.com/repos/tfsaggregator/tfsaggregator/issues/92/events","html_url":"https://github.com/tfsaggregator/tfsaggregator/pull/92","id":116716894,"number":92,"title":"Integration tests","user":{"login":"giuliov","id":1869724,"avatar_url":"https://avatars.githubusercontent.com/u/1869724?v=3","gravatar_id":"","url":"https://api.github.com/users/giuliov","html_url":"https://github.com/giuliov","followers_url":"https://api.github.com/users/giuliov/followers","following_url":"https://api.github.com/users/giuliov/following{/other_user}","gists_url":"https://api.github.com/users/giuliov/gists{/gist_id}","starred_url":"https://api.github.com/users/giuliov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giuliov/subscriptions","organizations_url":"https://api.github.com/users/giuliov/orgs","repos_url":"https://api.github.com/users/giuliov/repos","events_url":"https://api.github.com/users/giuliov/events{/privacy}","received_events_url":"https://api.github.com/users/giuliov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-13T07:22:44Z","updated_at":"2015-12-01T23:25:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tfsaggregator/tfsaggregator/pulls/92","html_url":"https://github.com/tfsaggregator/tfsaggregator/pull/92","diff_url":"https://github.com/tfsaggregator/tfsaggregator/pull/92.diff","patch_url":"https://github.com/tfsaggregator/tfsaggregator/pull/92.patch"},"body":"A proposal for Integration tests using xUnit which offers single-thread behavior.\r\n\r\nSome highlights:\r\n* TFS must be 2015 using SQL Express 2014 running on the same box as VS 2015\r\n* You must create the **TfsAggregator2IntegrationTest** collection with empty **ScrumTfvc** project\r\n* Detach the collection and zip the Collection's SQL files in `TfsAggregator2IntegrationTest.zip`\r\n* Integration tests will scratch any **TfsAggregator2IntegrationTest** collection and restore the zip content as the first action; it takes less than a minute on my box\r\n* Building **IntegrationTests** project push Aggregator in local TFS plugin directory\r\n* Each test may push a different Policy file in local TFS plugin directory\r\n\r\nUnload the project or define some Playlist to avoid running these tests every time.\r\n\r\nCode is not much clean, but it validates the idea.\r\n\r\n<!-- Reviewable:start -->\r\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/tfsaggregator/tfsaggregator/92)\r\n<!-- Reviewable:end -->"},"comment":{"url":"https://api.github.com/repos/tfsaggregator/tfsaggregator/issues/comments/161129709","html_url":"https://github.com/tfsaggregator/tfsaggregator/pull/92#issuecomment-161129709","issue_url":"https://api.github.com/repos/tfsaggregator/tfsaggregator/issues/92","id":161129709,"user":{"login":"jessehouwing","id":4173387,"avatar_url":"https://avatars.githubusercontent.com/u/4173387?v=3","gravatar_id":"","url":"https://api.github.com/users/jessehouwing","html_url":"https://github.com/jessehouwing","followers_url":"https://api.github.com/users/jessehouwing/followers","following_url":"https://api.github.com/users/jessehouwing/following{/other_user}","gists_url":"https://api.github.com/users/jessehouwing/gists{/gist_id}","starred_url":"https://api.github.com/users/jessehouwing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jessehouwing/subscriptions","organizations_url":"https://api.github.com/users/jessehouwing/orgs","repos_url":"https://api.github.com/users/jessehouwing/repos","events_url":"https://api.github.com/users/jessehouwing/events{/privacy}","received_events_url":"https://api.github.com/users/jessehouwing/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T23:25:36Z","updated_at":"2015-12-01T23:25:36Z","body":"I know automating tfpt can be finicky... Ok, so let's keep it at SQL. Good to know it's serialized o nthe Xunit side. In that case, let's continue and merge this as well."}}