{"action":"closed","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/4897","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/4897/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/4897/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/4897/events","html_url":"https://github.com/aspnet/Mvc/issues/4897","id":161716856,"number":4897,"title":"Problem of discovering controllers in integration tests","user":{"login":"hikalkan","id":1210527,"avatar_url":"https://avatars.githubusercontent.com/u/1210527?v=3","gravatar_id":"","url":"https://api.github.com/users/hikalkan","html_url":"https://github.com/hikalkan","followers_url":"https://api.github.com/users/hikalkan/followers","following_url":"https://api.github.com/users/hikalkan/following{/other_user}","gists_url":"https://api.github.com/users/hikalkan/gists{/gist_id}","starred_url":"https://api.github.com/users/hikalkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hikalkan/subscriptions","organizations_url":"https://api.github.com/users/hikalkan/orgs","repos_url":"https://api.github.com/users/hikalkan/repos","events_url":"https://api.github.com/users/hikalkan/events{/privacy}","received_events_url":"https://api.github.com/users/hikalkan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":23,"created_at":"2016-06-22T15:41:34Z","updated_at":"2016-07-20T19:34:35Z","closed_at":"2016-07-20T19:34:35Z","body":"I'm using RC2.\r\n\r\nI have a web project, say src\\MyWeb, and a test project, say test\\MyWeb.Tests.\r\nI read and followed the documentation (https://docs.asp.net/en/latest/testing/integration-testing.html).\r\n\r\nWhen I put my controllers into Test project, if works. But if they are in the MyWeb project (which is normally should be) it can not find my controller and returns HttpStatusCode.NotFound.\r\n\r\nIs that a known issue?\r\n\r\nAdditional info:\r\n\r\nThis is my test project: https://github.com/aspnetboilerplate/aspnet-core-template/blob/dev/test/AbpCompanyName.AbpProjectName.Web.Tests/Controllers/HomeController_Tests.cs\r\nAnd this is the actual working web project: https://github.com/aspnetboilerplate/aspnet-core-template/blob/dev/src/AbpCompanyName.AbpProjectName.Web/Controllers/HomeController.cs\r\nThis will be an open source AspNet Core and EF Core based startup template. I'm just writing some test codes for now."}}
{"actor":{"display_login":"Eilon"}}