TestSession
Represents the test session.
Test session scope can be global, fixture or test.
Gets or sets the current session that can be unique for each parallel thread/test (using AsyncLocal<T>).
Gets the global session that is the common and root session for tests run.
Gets the name of the current test fixture.
Gets the name of the current test.
Gets the collection of child sessions.
Gets the combined collection of all entities of parent sessions with this session.
Gets the combined collection of all entity items of parent sessions with this session.
Gets the parent session or null for Global.
Adds the entity to the session.
Adds the workspace entity to the session.
Get all the entities of particular type in session hierarchy.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Gets the first entity of specified type from session hierarchy.
Gets the last entity of specified type from session hierarchy.
Removes an entity from the session by the specified ID.
Removes an entity from the session by the specified IDs of workspace and entity.
Sets the value whether to delete the entity on cleanup.
Sets the value whether to delete the entities on cleanup.
Sets the entity as current working one of specified type.
Starts the child session.
Gets the current working entity of specified type from session hierarchy.
If there is no entity previously set using SetWorking<T> method,
returns last entity of specified type added to session hierarchy.