Changelog History
Page 2
-
v2.0.4 Changes
May 08, 2019 -
v2.0.3 Changes
April 30, 2019๐ New features
โ Test timeouts (#647)
๐ The
test
scope builders (it
,Given
,When
,Then
andAnd
) now have an optional parametertimeout
that controls how long thistest
should run until a timeout is issued. The default timeout is 10 seconds.Known issues
- ๐ IDE plugins now require Kotlin plugin
1.3.30+
installed. - ๐ฆ Run tests in a package provided by the Spek plugin does not work most of the time (still investigating), in the meantime use Run tests in package functionality provided by IJ or AS.
- ๐
2.0.3
IDE plugins are not backward compatible, please use the same version for the project dependency.
๐ Deprecations
- ๐ (#668) Deprecated
CachingMode.GROUP
in favor ofCachingMode.EACH_GROUP
.
Other changes
- ๐ IDE plugins now require Kotlin plugin
-
v2.0.2 Changes
April 08, 2019๐ Another bug fix release for the
2.x
release train. See 2.0.2 milestone for more details! -
v2.0.1 Changes
March 02, 2019๐ First bugfix release in the
2.x
line.๐ Fixing #606 required making some incompatible changes between
2.0.1
runtime and2.0.0
IJ plugin, please hold off from upgrading to2.0.1
until the IJ plugin is available (it usually takes a few hours as JB needs to manually approve them first). If you have existing run configurations created using the2.0.0
IJ plugin, you need to recreate them. Apologies for any inconvenience this has caused!๐ Fixes
-
v2.0.0 Changes
February 03, 2019What's new?
- ๐ A new runtime that does not depend JUnit 5, which means we can eventually add support for other kotlin platforms (JS, Native). JUnit 5 is still used a runner for Kotlin JVM.
- ๐ Writing tests for common modules is possible but IDE experience is not desirable (see https://github.com/spekframework/spek/tree/2.x/samples/multiplatform).
- ๐ Support for the new MPP model introduced in Kotlin 1.3.
- ๐
DSL is now split into two distinct styles:
specification
andgherkin
. - ๐ Better IDE support (see https://spekframework.org/running/#ide)
- ๐ New package name (
org.spekframework.spek2
) - ๐ Revamped docs (see https://spekframework.org/)
๐ฅ Breaking changes
๐ See https://spekframework.org/breaking-changes/
Migration guide
๐ See https://spekframework.org/migration/
The list of issues and features included can be found in the following milestones:
-
v2.0.0-rc.1 Changes
September 30, 2018 -
v2.0.0-alpha.2 Changes
September 01, 2018- ๐ Support for Java 10 (#460, #459)
- Kotlin 1.2.60
- โฌ๏ธ Drop reflections in favor of https://github.com/classgraph/classgraph.
-
v1.2.1 Changes
September 01, 2018- ๐ Fix compatibility with JUnit Platform 1.3
- Kotlin 1.2.60