MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingTest­OptionsFormat­Output
Open sandboxFocus

TestOptions.FormatOutput Property

FormatOutput

Gets or sets a value indicating whether the output t.cs file should be formatted, which includes simplifying the code and adding using directives. The default behavior is true. To enable this option in a test, add this comment to your test file: // @FormatOutput.

Declaration
public Nullable<bool> FormatOutput { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>