github assertk-org/assertk v0.11

latest releases: v0.28.1, v0.28.0, v0.27.0...
6 years ago

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.

Don't miss a new assertk release

NewReleases is sending notifications on new releases.