Enum ProtoCleanupFailureMode
What a failing cleanup does to the test the runner reports. Cleanup is the work after the body: after-test hooks and attributes, publishing attachments, releasing resources and disposing clients.
public enum ProtoCleanupFailureMode
- Extension Methods
Fields
Fail = 0The test fails. A body that passed is reported as failed, with a message that says so and names the cleanup failure. A body that failed keeps that failure; the cleanup failures are attached to it. A skipped or unknown body also becomes failed when cleanup fails. This is the default.
Report = 1The cleanup failure is recorded as a finding and does not change the result the test reported.