Property DefaultFileExtension
- Namespace
- Xunit.Runner.Common
- Assembly
- xunit.v3.runner.common.aot.dll
DefaultFileExtension
Gets the default file extension used when the user did not provide a report filename.
This should be returned in "ext" form.
string DefaultFileExtension { get; }
Property Value
Remarks
Note that default file extensions should be descriptive and unique, since they will be how users will know which result file came from which result writer when there are multiple writers when the user has not chosen custom filenames.
Example:
- Bad =
"xml"(too generic) - Good =
"xunit.xml"(preserves.xmlwhile being descriptive)