Giles icon indicating copy to clipboard operation
Giles copied to clipboard

NUnit runner does not show the complete error

Open codereflection opened this issue 13 years ago • 0 comments

The NUnit runner in Giles is not showing the complete error message when you press E to see the errors, such as Expected and Actual values. It does however show the complete information when using V.

Email from google group: Error details missing? I launched a command window an executed Giles -s MyProject.sln and all looks good. When I get a failed test and choose "E" to see the results, I get this -- assertion details are missing:

Test Run Errors (1)
-------------------
OriginationAndTerminationEqual_ReturnsInUse

   at NUnit.Framework.Assert.That(Object actual, IResolveConstraint expression,
String message, Object[] args)
   at NUnit.Framework.Assert.IsTrue(Boolean condition)
   at Sonet.Tests.Queries.CheckIfCircuitEndpointsUseAvailableResourcesTest.Origi
nationAndTerminationEqual_ReturnsInUse() in c:\sonetjp\source\Sonet.Tests\Querie
s\CheckIfCircuitEndpointsUseAvailableResourcesTest.cs:line 58

When I use "V" to show all message, the assertion details are present:

OriginationAndTerminationEqual_ReturnsInUse: Failure

  Expected: True
  But was:  False

   at NUnit.Framework.Assert.That(Object actual, IResolveConstraint expression,
String message, Object[] args)
   at NUnit.Framework.Assert.IsTrue(Boolean condition)
   at Sonet.Tests.Queries.CheckIfCircuitEndpointsUseAvailableResourcesTest.Origi
nationAndTerminationEqual_ReturnsInUse() in c:\sonetjp\source\Sonet.Tests\Querie
s\CheckIfCircuitEndpointsUseAvailableResourcesTest.cs:line 58

Shouldn't the "Expected... But was" show when using the "E" function?

codereflection avatar Mar 29 '12 03:03 codereflection