2.0.8
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
and afterEachGroup
fixtures are now available. They are invoked for every group including the group where they are declared (similar to how CachingMode.EACH_GROUP
works).
Deprecation
(#787) The fixture aliases before
, after
, beforeEach
and afterEach
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 a beforeGroup
fixture. See ticket for the motivation and more details.
LifecycleListener now reports test failures.
See #761 for the motivation and more details.