Enum ProtoResourceScope

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

How long an owned resource lives.

public enum ProtoResourceScope
Extension Methods

Fields

Run = 1

Owned by the whole run and released when the host is disposed, after the run has stopped and the reports are written - for infrastructure a suite starts once, such as a database container.

Test = 0

Owned by one test and released when that test ends, before its clients are disposed.