visual studio - xUnit showing truncated Expected and Actual in Test Explorer -


i using xunit visual studio test explorer , when there's error in assert.equal(), getting truncated version of actual , expected.

for example,

xunit.sdk.equalexception assert.equal() failure expected: list<result>  [result {  status = statusenumvalue1,  message = "the request or response type contains special ty"...,  path = "1234" }] actual:   wherelistiterator<result>  [result {  status = statusenumvalue1,  message = "the request or response type contains special ty"...,  path = "1234" }] 

this test fails because messages different, given messages truncated, cannot see part different test explorer. when copy out, it's still truncated.

is known shortcoming of xunit? can keep debugging test or use writeline compare messages surprised xunit framework not have way allow full response shown. tried resharper test explorer, , not solve problem.

this appears limitation of visual studio. looks resolved visual studio 2017.3.

https://developercommunity.visualstudio.com/content/problem/30703/test-explorer-result-text-truncated.html


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -