spek
spek copied to clipboard
Sharing a memoized val between different Speks
I want to share a memoized
val
between different Spek
s, since the memoized
val
is an org.testcontainers
DockerComposeContainer
which takes several minutes to be evaluated. But none of the CachingMode
s seem to work. This leaves me with the option to write all tests in a single Spek
.
How can I share a memoized
val
between different Spek
s?