We are using TeamCity Service Messages to report on the status of our Silverlight Testing Framework. The TeamCity portal correctly fails the build if an error occurs. When I click on the failed test it however only displays the stack trace and not the actual assert message failure. Here is the actual service message that was was logged:
##teamcity[testFailed name='ClassificationEditViewTests.T13_UpdateExistingClassification1_SavesClassificationAIntoDb' message='Assert.Fail failed. Timeout occured while waiting for BusinessObject to be saved.' details=' at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.HandleFail(String assertionName, String message, Object[|] parameters)|r|n at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message, Object[|] parameters)|r|n at Microsoft.VisualStudio.TestTools.UnitTesting.Assert.Fail(String message)|r|n at Pragma.OnKey.Client.Tests.Integration.OnKeySilverlightTest.<>c__DisplayClassa.<EnqueueConditionalOrTimeout>b__9()|r|n at Microsoft.Silverlight.Testing.UnitTesting.ConditionalWorkItem.Invoke()|r|n at Microsoft.Silverlight.Testing.UnitTesting.Harness.CompositeWorkItem.Invoke()']
I would expect to see the "Assert.Fail failed. Timeout occured while waiting for the BusinessObjec to be saved." but I don't see it at all. What am I doing wrong?