Skip to content

v0.11

Compare
Choose a tag to compare
@evant evant released this 13 Jul 14:16

Added

  • Split into multi-platform modules: assertk-common, assertk-jvm, and assertk-js
    Important: this means the maven coordinate has changed for java projects, it is now com.willowtreeapps:assertk:assertk-jvm:0.11.
  • Add hasSameSizeAs, containsNone, index assertions to array.
  • Add isEmpty, isNotEmpty, isNullOrEmpty, hasSize assertions to map.
  • Rename map's containsExactly to containsOnly to make it more clear that order doesn't matter.
  • Add length prop for CharSequences.
  • Un-deprecated several has* methods: hasLength, hasSameLengthAs, hasMessage, hasCause, hasNoCause, hasRootCause.
  • hasCause and hasRootCause check exception type and message instead of using equals. This makes them more useful
    as exceptions don't typically implement equals
  • Uses opentest4j assertions. This should allow better IDE integration etc.