Build/Test Issues

Exceptions appear twice

Started by DanHil on 7,658 views

Every failing test shows the exception twice in the tests window.

Example:


*** Failures ***

Exception
Xunit.Sdk.TrueException: Assert.True() Failure
at GA.CoreData.IntegrationTests.QuantityTestStoresRepositoryTest.SavingANewItem_ShouldAddItToTheDatabase(QuantityTestStoresRepository sut, QuantityTestStore itemToSave) in C:\Projects\Main\Source\GA.CoreData.IntegrationTests\QuantityTestStoresRepositoryTest.cs:line 55#0
Xunit.Sdk.TrueException: Assert.True() Failure
at GA.CoreData.IntegrationTests.QuantityTestStoresRepositoryTest.SavingANewItem_ShouldAddItToTheDatabase(QuantityTestStoresRepository sut, QuantityTestStore itemToSave) in C:\Projects\Main\Source\GA.CoreData.IntegrationTests\QuantityTestStoresRepositoryTest.cs:line 55#1
Thanks for reporting this. Do you experience this in every Xunit solution you work in, or just this one?
In every. It has been like this for every single failed test since I started using NCrunch.
It looks as though this problem can be broadly reproduced. I'll see what I can do about fixing it in the upcoming minor release. Thanks again!
For anyone interested, 1.43 has just been released with a fix for the above problem.

Post a reply

Log in to reply.