Skip to content

Allow inclusion of (caller argument) expression information in failure messages to be disabled #8033

@drieseng

Description

@drieseng

Summary

I'd like to have a way to disable inclusion of (caller argument) expression information in failure messages.

Background and Motivation

I'm sure the inclusion of (caller argument) expression information in failure messages is greatly appreciated by a wide audience, but - personally - I don't see much value in it.

I would greatly appreciate a means to disable it (via runsettings?).

Having failure messages such as Assert.IsNull failed. 'value' expression: 'actual'. do not provide useful information (to me!). As long as you have an accurate stack trace, you have enough to investigate the test failure.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions