spek v2.0.13 Release Notes

Release Date: 2020-09-12 // about 2 months ago
  • ๐Ÿš€ This release adds several system properties to control how Spek does discovery and execution.

    0๏ธโƒฃ spek2.discovery.parallel.enabled - controls whether discovery is done in parallel or not, by default it is disabled. The presence of this property regardless of value will enable parallel discovery.

    0๏ธโƒฃ spek2.execution.parallel.enabled - controls whether execution is done in parallel or not, by default it is disabled. The presence of this property regardless of value will enable parallel execution.

    ๐Ÿšš spek2.execution.test.timeout - SPEK2_TIMEOUT is now deprecated (will be removed in 2.1.0) and will be replaced by this property. Controls how long a test can run before timing out, by default it is disabled - i.e tests won't timeout.

    A note for parallel execution

    โœ… Parallelism is at a class level not individual test scopes. Spek uses coroutines under the hood to execute tests in parallel, essentially spek2.execution.parallel.enabled just controls which CoroutineDispatcher is used. For parallel executions Dispatchers.Default is used, otherwise the one provided by runBlocking is used.


Previous changes from v2.0.12

  • ๐Ÿš€ Patch release that adds support for IJ 2020.2 EAP and AS 4.0. The following AS and IJ versions are no longer supported:

    • Android Studio 3.3
    • Android Studio 3.4
    • IntelliJ IDEA 2018.2
    • IntelliJ IDEA 2018.3
    • IntelliJ IDEA 2019.1
    • IntelliJ IDEA 2019.2