5

Resolved

Test display names should be encoded before printing

description

This probably affects both the console and MSBuild runners (when not in TeamCity mode).

When theories have newlines in the contained strings, those strings should be encoded. An example of a test today that has this issue is StringTests.FailureCases, with output like this from MSBuild:
    EqualTests+StringTests.SuccessCases(value1: "foo
 bar", value2: "foo
 bar", ignoreCase: False, ignoreLineEndingDifferences: True, ignoreWhiteSpaceDifferences: False)

comments

BradWilson wrote May 5, 2013 at 1:03 AM

Fixed in v2 MSBuild runner.

Fixed in v2 VS2012 runner.

BradWilson wrote Mar 22, 2014 at 6:34 PM

Fixed in v2 console runner.