spek-api / org.jetbrains.spek.api.lifecycle / CachingMode

CachingMode

enum class CachingMode

Specifies how lifecycle aware objects are cached.

Author
Ranie Jade Ramiso

Enum Values

GROUP

Each group will get their own unique instance. Nested groups will have their own unique instance as well.

SCOPE

Instance will be shared within the group it was declared.

TEST

Each test will get their own unique instance.