{"action":"created","issue":{"url":"https://api.github.com/repos/xunit/xunit/issues/295","labels_url":"https://api.github.com/repos/xunit/xunit/issues/295/labels{/name}","comments_url":"https://api.github.com/repos/xunit/xunit/issues/295/comments","events_url":"https://api.github.com/repos/xunit/xunit/issues/295/events","html_url":"https://github.com/xunit/xunit/issues/295","id":57553558,"number":295,"title":"Cannot get tests discovered","user":{"login":"kentcb","id":1901832,"avatar_url":"https://avatars.githubusercontent.com/u/1901832?v=3","gravatar_id":"","url":"https://api.github.com/users/kentcb","html_url":"https://github.com/kentcb","followers_url":"https://api.github.com/users/kentcb/followers","following_url":"https://api.github.com/users/kentcb/following{/other_user}","gists_url":"https://api.github.com/users/kentcb/gists{/gist_id}","starred_url":"https://api.github.com/users/kentcb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentcb/subscriptions","organizations_url":"https://api.github.com/users/kentcb/orgs","repos_url":"https://api.github.com/users/kentcb/repos","events_url":"https://api.github.com/users/kentcb/events{/privacy}","received_events_url":"https://api.github.com/users/kentcb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-02-13T03:09:39Z","updated_at":"2015-02-27T18:45:00Z","closed_at":"2015-02-13T08:40:50Z","body":"I feel like I must be doing something stupid, but I've followed the docs and still cannot get tests to appear in *Test Explorer* in VS2015 (or 2013). Here's what I did:\r\n\r\n* created a new solution with 2 projects: one a PCL and one a normal class library\r\n* added these packages:\r\n  * **xunit** (2.0.0-rc1-build2826)\r\n  * **xunit.abstractions** (2.0.0-rc1-build2826)\r\n  * **xunit.assert** (2.0.0-rc1-build2826)\r\n  * **xunit.core** (2.0.0-rc1-build2826)\r\n  * **xunit.extensibility.core** (2.0.0-rc1-build2826)\r\n  * **xunit.runner.visualstudio** (2.0.0-rc1-build1030)\r\n  * **xunit.runners** (2.0.0-rc1-build2826). I wasn't certain I needed this one, so I only added it when things weren't working without it. The docs seem a little ambiguous as to whether this package is needed when running tests in VS.\r\n* added an empty test\r\n* displayed the test explorer\r\n* rebuilt my solution\r\n\r\nThe *Output* window for *Tests* just says:\r\n```\r\n------ Discover test started ------\r\n========== Discover test finished: 0 found (0:00:00.145672) ==========\r\n```\r\nAm I doing something wrong here?"},"comment":{"url":"https://api.github.com/repos/xunit/xunit/issues/comments/76448620","html_url":"https://github.com/xunit/xunit/issues/295#issuecomment-76448620","issue_url":"https://api.github.com/repos/xunit/xunit/issues/295","id":76448620,"user":{"login":"npnelson","id":2856705,"avatar_url":"https://avatars.githubusercontent.com/u/2856705?v=3","gravatar_id":"","url":"https://api.github.com/users/npnelson","html_url":"https://github.com/npnelson","followers_url":"https://api.github.com/users/npnelson/followers","following_url":"https://api.github.com/users/npnelson/following{/other_user}","gists_url":"https://api.github.com/users/npnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/npnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npnelson/subscriptions","organizations_url":"https://api.github.com/users/npnelson/orgs","repos_url":"https://api.github.com/users/npnelson/repos","events_url":"https://api.github.com/users/npnelson/events{/privacy}","received_events_url":"https://api.github.com/users/npnelson/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T18:45:00Z","updated_at":"2015-02-27T18:45:00Z","body":"For what it's worth, I also had all kinds of problems with this and CTP6 (yet when I cloned the VS Integration Test project, those tests discovered/ran fine).  \r\n\r\nI finally tracked the problem down to the fact that my own test projects were sitting on a UNC path.  I am running Windows on a Mac via Parallels and by default, new projects were getting dropped into the Parallels shared folder (i.e. \\\\psf\\...)\r\n\r\nWhen I put my project on a local drive, test discovery worked.  So maybe the problem manifests itself when using a UNC path or maybe it is something specific to Parallels?"}}