Skip to content

v1.1.0-beta3

Pre-release
Pre-release
Compare
Choose a tag to compare
@raniejade raniejade released this 05 Jan 14:43
· 400 commits to 2.x since this release

What's new

  • Added extensions (#115)

  • Support object instances (#109)

  • Added beforeGroup and afterGroup fixtures (#145)

  • Introduce action scopes (#140), previously known as lazy groups.

  • Added support for spec inclusion.

    object Foo: Spek({
       ...
    })
    
    object Bar: Spek({
       include(Foo)
    
       ...
    })

Breaking changes

  • Subject support is now implemented as an extension and is moved to it's own artifact (org.jetbrains.spek:spek-subject-extension)
  • If you're using shared subjects using object instances is now mandatory. itBehavesLike(SharedSubject::class) to itBehavesLike(SharedSubject)