Skip to content

ISessionSetup

Namespace: E2E

public interface ISessionSetup

What a framework adapter’s setup attribute says about a test: it is a setup test, and it saves these sessions (upstream’s test.setup(title, { sessions }, fn)). .NET-only: the adapter declares the attribute, because the test framework owns what a test is; E2E.NUnit.E2ESetupAttribute is the NUnit one and E2E.XUnit.V3.E2ESetupAttribute the xUnit v3 one.

Derived: E2ESetupAttribute, E2ESetupAttribute, E2ESetupAttribute

View source

IReadOnlyList<string> Saves { get; }

The names the setup test saves, each exactly once, with SaveSessionAsync.

Value: IReadOnlyList<string>