Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Exceptions appear twice
DanHil
#1 Posted : Tuesday, November 20, 2012 9:51:08 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 11/12/2012(UTC)
Posts: 85

Thanks: 11 times
Was thanked: 3 time(s) in 3 post(s)
Every failing test shows the exception twice in the tests window.

Example:

Quote:

*** 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
Remco
#2 Posted : Tuesday, November 20, 2012 9:20:06 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Thanks for reporting this. Do you experience this in every Xunit solution you work in, or just this one?
DanHil
#3 Posted : Tuesday, November 20, 2012 9:21:40 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 11/12/2012(UTC)
Posts: 85

Thanks: 11 times
Was thanked: 3 time(s) in 3 post(s)
In every. It has been like this for every single failed test since I started using NCrunch.
Remco
#4 Posted : Wednesday, November 21, 2012 3:32:32 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
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!
Remco
#5 Posted : Monday, December 10, 2012 4:51:55 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
For anyone interested, 1.43 has just been released with a fix for the above problem.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.033 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download