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 bool? ExecuteProgram { get; set; }
Property Value
Type | Description |
---|---|
bool? |