MetalamaAPI documentationAdvanced APIMetalama.​Testing.​Aspect­TestingTest­OptionsExecute­Program
Open sandboxFocus

TestOptions.ExecuteProgram Property

ExecuteProgram

Gets or sets a value indicating whether the Program.Main method should be executed if it exists. The default value is true. To disable this option in a test, add this comment to your test file: // @DisableExecuteProgram.

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