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 }}
Repository navigation
[MTP Diagnostic Analysis] CrashDump sub-options are silently ignored without --crashdump/--crash-report #8407
Microsoft.Testing.Extensions.CrashDump accepts --crashdump-filename and --crashdump-type without requiring --crashdump or --crash-report. Unlike HangDump, those sub-options are not rejected when the main feature is off, so they are silently ignored.
A user can pass --crashdump-filename or --crashdump-type and get no validation error, but the crash dump environment-variable provider never activates unless --crashdump or --crash-report is also set. That makes the options look accepted even though they have no effect.
Suggested resolution
Add ValidateCommandLineOptionsAsync validation equivalent to HangDump, so --crashdump-filename / --crashdump-type require --crashdump or --crash-report. Add acceptance/unit coverage for the invalid combinations.
Activity