Context

public interface Context(source)

A type representing the context of a test.

A context consists of its subject (for example, class, an attribute or an method) and a collection of properties.

Author

Dustin Glaser

Inheritors

Types

Link copied to clipboard
public interface Builder<BT extends Context.Builder<BT>>
A builder for contexts.

Functions

Link copied to clipboard
public abstract Collection<Property> properties()
Returns all properties of this context.
Link copied to clipboard
public abstract Object subject()
Returns the subject of this context.