Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Test Name: ToDo.Tests.Integration.Web.HomeControllerIndexShould.ReturnViewWithCorrectMessage
- Test FullName: ToDo.Tests.Integration.Web.HomeControllerIndexShould.ReturnViewWithCorrectMessage
- Test Source: C:SourceUtopiatestsToDo.TestsIntegrationWebHomeControllerIndexShould.cs : line 18
- Test Outcome: Failed
- Test Duration: 0:00:00,001
- Result StackTrace:
- at Microsoft.AspNetCore.Hosting.Internal.HostingEnvironmentExtensions.Initialize(IHostingEnvironment hostingEnvironment, String contentRootPath, WebHostOptions options)
- at Microsoft.AspNetCore.Hosting.WebHostBuilder.BuildCommonServices(AggregateException& hostingStartupErrors)
- at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
- at Microsoft.AspNetCore.TestHost.TestServer..ctor(IWebHostBuilder builder, IFeatureCollection featureCollection)
- at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateServer(IWebHostBuilder builder)
- at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.EnsureServer()
- at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateDefaultClient(DelegatingHandler[] handlers)
- at Microsoft.AspNetCore.Mvc.Testing.WebApplicationFactory`1.CreateClient(WebApplicationFactoryClientOptions options)
- at ToDo.Tests.Integration.Web.HomeControllerIndexShould..ctor(CustomWebApplicationFactory`1 factory) in C:SourceUtopiatestsToDo.TestsIntegrationWebHomeControllerIndexShould.cs:line 14
- Result Message:
- System.ArgumentException : The content root 'C:SourceUtopiaToDo.Web' does not exist.
- Parameter name: contentRootPath
Add Comment
Please, Sign In to add comment