Skip to content

ToLower on outcome dictionary key breaks XSL validation #149

@adimosh

Description

@adimosh

The outcomes dictionary that is passed to the CreateOutcome method has its key set to a string with ToLower() instead of having a case-insensitive comparer. As a result, instead of notExecuted, we get notexecuted, which Visual Studio 2022 is complaining about and not accepting:

  <ResultSummary outcome="Completed" xmlns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
    <Counters total="5" passed="1" failed="0" notexecuted="4" />
  </ResultSummary>

It is also worth questioning whether the case insensitivity is actually warranted in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions