Skip to content
This repository was archived by the owner on Aug 26, 2026. It is now read-only.
This repository was archived by the owner on Aug 26, 2026. It is now read-only.

Analyzer and Code Fix testing should allow alternate test failure messages #1034

Description

@KathleenDollard

There is no current way to alter the message produced by the Analyzer and Code Fix on failure.

Analyzer and Code Fix testing from the templates has a fixed message

This presents a problem for me because I use sample code files and do not know which sample code file failed without a debug breakpoint to evaluate real-time values.

I would like CodeFixVerifier to accept a delegate to create the message. This is the easiest way to give the person writing the tests adequate control over the message.

An alternate message string is not sufficient because there are many reasons someone might have extra information to deliver to the person looking at test failures.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions