Class ExtensionContext.Namespace

java.lang.Object
org.junit.jupiter.api.extension.ExtensionContext.Namespace
Enclosing interface:
ExtensionContext

public static class ExtensionContext.Namespace extends Object
A Namespace is used to provide a scope for data saved by extensions within a ExtensionContext.Store.

Storing data in custom namespaces allows extensions to avoid accidentally mixing data between extensions or across different invocations within the lifecycle of a single extension.

Since:
5.0