{"action":"closed","issue":{"url":"https://api.github.com/repos/AutoFixture/AutoFixture/issues/614","repository_url":"https://api.github.com/repos/AutoFixture/AutoFixture","labels_url":"https://api.github.com/repos/AutoFixture/AutoFixture/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/AutoFixture/AutoFixture/issues/614/comments","events_url":"https://api.github.com/repos/AutoFixture/AutoFixture/issues/614/events","html_url":"https://github.com/AutoFixture/AutoFixture/issues/614","id":151369038,"number":614,"title":"AutoFixture doesn't work well with the recent version of Resharper (2016.1)","user":{"login":"Zvirja","id":1074182,"avatar_url":"https://avatars.githubusercontent.com/u/1074182?v=3","gravatar_id":"","url":"https://api.github.com/users/Zvirja","html_url":"https://github.com/Zvirja","followers_url":"https://api.github.com/users/Zvirja/followers","following_url":"https://api.github.com/users/Zvirja/following{/other_user}","gists_url":"https://api.github.com/users/Zvirja/gists{/gist_id}","starred_url":"https://api.github.com/users/Zvirja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zvirja/subscriptions","organizations_url":"https://api.github.com/users/Zvirja/orgs","repos_url":"https://api.github.com/users/Zvirja/repos","events_url":"https://api.github.com/users/Zvirja/events{/privacy}","received_events_url":"https://api.github.com/users/Zvirja/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-27T12:06:16Z","updated_at":"2016-05-01T09:31:43Z","closed_at":"2016-05-01T09:31:43Z","body":"In the recent version of Resharper (2016.1), the test runner becomes crazy if I use AutoFixture.\r\nConsider the following source code:\r\n```csharp\r\n  public class Tests\r\n  {\r\n    [Theory, AutoData]\r\n    public void TheoryTest(string data)\r\n    {\r\n    }\r\n\r\n    [Theory, InlineAutoData(\"Test\")]\r\n    public void TheoryTest2(string data, string data2)\r\n    {\r\n    }\r\n\r\n    [Theory, InlineAutoData(\"Test\")]\r\n    public void TheoryTest3(string data)\r\n    {\r\n    }\r\n\r\n\r\n    [Theory, InlineData(\"Test\")]\r\n    public void TheoryTest4(string data)\r\n    {\r\n    }\r\n  }\r\n```\r\n\r\nIf we run tests in Resharper, we'll get the following output:\r\n![image](https://cloud.githubusercontent.com/assets/1074182/14851375/30ea5eb4-0c88-11e6-98f4-6dbadc8b8dd6.png)\r\n\r\nIt's expected behavior. However, let's re-run the tests again:\r\n![image](https://cloud.githubusercontent.com/assets/1074182/14851384/3cfb1d6a-0c88-11e6-85c1-c6c628af4380.png)\r\n\r\nEach time you re-run tests, the number of trash tests increases, including the Total number of tests.\r\n\r\nIf AutoFixture is not used, or our theory don't consume auto generated data - everything is fine.\r\n\r\nI'm not sure whether this is AutoFixture, xUnit or Resharper issue (or intersection of some of them), therefore decided to raise it here. If you discover that it's actually not AutoFixture issue - probably it makes sense that somebody who knows AutoFixture internals will register appropriate issue for guilty - I'll be unable to provide them with relevant (which includes their area only) scenario.\r\n\r\nThank you!"}}