Skip to content

Revise expected/actual recent change before shipping 4.1 #7193

Closed

Description

PRs #7098, #7127

  • On command-line, I think this will be considered when running the executable in non-server mode, but won't have effect in server (e.g, via dotnet test). Is that intended?
  • When considered on command-line, it can lead to duplicate info. The assertion message itself will already show the expected and actual. Is that also intended?
  • On TE, I haven't tested yet but I have no idea how/where they handle it.

Activity

  1. added
    area/assertion
    on Jan 9, 2026
  2. added
    area/mtp-vstest-bridge
    area/mstest
    on Jan 9, 2026
  3. Evangelink commented on Jan 13, 2026

    @Evangelink
    Member

    On command-line, I think this will be considered when running the executable in non-server mode, but won't have effect in server (e.g, via dotnet test). Is that intended?

    No this is not intended, some additional work is needed. IMO we should really try to have SDK code as a dotnet tool in this repo so we can dev fast and full experience as the SDK repo is a pain to work with.

    When considered on command-line, it can lead to duplicate info. The assertion message itself will already show the expected and actual. Is that also intended?

    No, additional work of reviewing and cleaning up every assertion message is required.

    On TE, I haven't tested yet but I have no idea how/where they handle it.

    At least for MTP (I haven't tried with VSTest), it was showing the actual and expected items in the details pane. It's raw display but it's better than nothing and could help with having devs requesting support for diff or advanced UI for these values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/assertionarea/mstestarea/mtp-vstest-bridge

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions