Skip to content

Web test in app startup template fails in NCrunch #9033

Closed
@hikalkan

Description

@hikalkan

Reported by @lprichar

Run all tests, one test (Index_Tests.Welcome_Page) fails consistently in NCrunch. It also sometimes fails but sometimes succeeds in other test runners.

System.Exception: Could not find content root folder!
   at ProductManagement.WebContentDirectoryFinder.CalculateContentRootFolder() in C:\dev\AbpBookReview\test\ProductManagement.Web.Tests\WebContentDirectoryFinder.cs:line 27
   at ProductManagement.ProductManagementWebTestBase.CreateHostBuilder() in C:\dev\AbpBookReview\test\ProductManagement.Web.Tests\ProductManagementWebTestBase.cs:line 15
   at Volo.Abp.AspNetCore.TestBase.AbpAspNetCoreIntegratedTestBase`1..ctor()
   at ProductManagement.ProductManagementWebTestBase..ctor()
   at ProductManagement.Pages.Index_Tests..ctor()

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions