Class ProtoCleanupOptions
How the run treats a cleanup failure. The section ProtoTest binds over code values when the
host is built, so ProtoTest:CleanupFailures selects Fail
or Report.
public sealed class ProtoCleanupOptions : IProtoConfigurableOptions
- Inheritance
-
ProtoCleanupOptions
- Implements
- Inherited Members
- Extension Methods
Fields
ConfigurationSectionName
The configuration section these options bind from.
public const string ConfigurationSectionName = "ProtoTest"
Field Value
Properties
CleanupFailures
How a failing cleanup is reported. Defaults to Fail.
public ProtoCleanupFailureMode CleanupFailures { get; set; }
Property Value
Methods
Validate()
Validates the resolved options once, after code callbacks and configuration have been applied. A bad value is a configuration error and must throw here rather than fail the first test that happens to use it. The default does nothing.
public void Validate()