Skip to content

0.2.0

Latest
Compare
Choose a tag to compare
@takahirom takahirom released this 31 Jul 03:15
· 2 commits to main since this release
e2fc9b7

When we don't have an itShould or describe block in describe block, describe used to ignore the block because it didn't create any tests. However, this could lead to a common mistake. We address this by making it an error.

describeBehaviors<Unit>("TestClass") {
    doIt {
    }
    // itShould("") {}
}

→ IllegalStateException("No itShould or describe block found for $name. Please add itShould or describe block, otherwise, it will not be executed.")

What's Changed

  • [Docs] Add maven dependency to README by @takahirom in #3
  • Make it an error when there is no "isShould" and "describe" block by @takahirom in #4

Full Changelog: 0.1.0...0.2.0