Skip to content

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

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

    Labels

    area/assertionAssert / StringAssert / CollectionAssert APIs.state/in-prA PR is open for this issue.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions