You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
CoreCLR on Unix doesn't currently support PDBs. This means that any failed xunit Asserts during testing include a stack trace but without any file or line information, which means that it can be time consuming to diagnose the location of a failure, in particular when there are multiple asserts of the same kind in the same test method, which is fairly common.
This commit adds an internal Assert class that can be included in a test project while debugging. It provides wrappers over xunit's Assert class, and those wrappers use [Caller*] attributes to grab the call site's file/line info and include the information in any assertion failures.
0 commit comments