spek v2.0.8 Release Notes
Release Date: 2019-10-06 // over 4 years ago-
๐ Artifacts are now synced to maven central
๐ See #764 for more details.
Timeouts
๐ Test timeouts were added in
2.0.3
but it was hard to configure and there was no way to disable it - causing issues when using a debugger. This release includes several improvements to this feature.Setting timeouts globally
๐ง (#769) On the JVM the global timeout can be configured via the system property
SPEK_TIMEOUT
Disable timeouts
โฑ (#792) A value of
0
will disable the timeout.๐ Fixtures
๐ New fixtures
(#670)
beforeEachGroup
andafterEachGroup
fixtures are now available. They are invoked for every group including the group where they are declared (similar to howCachingMode.EACH_GROUP
works).๐ Deprecation
๐ (#787) The fixture aliases
before
,after
,beforeEach
andafterEach
in the specification style are now deprecated.Scope value (aka memoized) access are now stricter
๐ (#789) Scope values will now throw an exception when accessed in the wrong context. A good example is accessing a scope value with
CachingMode.TEST
in abeforeGroup
fixture. See ticket for the motivation and more details.โ LifecycleListener now reports test failures.
๐ See #761 for the motivation and more details.
๐ Other fixes/changes