Skip to content

Releases: robfletcher/strikt

Glorious Bureaucrat

03 Feb 00:33
Compare
Choose a tag to compare
  • Removes the overload of isNotNull to avoid overload ambiguity when the subject is a platform type.

Full Changelog: v0.34.0...v0.34.1

Stalwart Blossom

31 Jan 19:38
Compare
Choose a tag to compare
  • Adds propertiesAreEqualToIgnoring assertion.
  • Adds isSameInstant assertion for date/time types.

Scarlet Attitude

16 Nov 21:15
Compare
Choose a tag to compare

What's Changed

  • Support Kotlin 1.6.0
  • Add 'doesNotContainKey' and 'doesNotContainKeys' map assertions by @r0adkll in #247

New Contributors

Full Changelog: v0.32.0...v0.33.0

Golden Depths

25 Aug 14:56
Compare
Choose a tag to compare
  • Supports Kotlin 1.5
  • Removes strikt-gradle module as classpath isolation is problematic with Kotlin 1.5 and the gradleTestKit dependency.
  • Adds Assertion.Builder<T>.subject : T property for accessing the subject value.

Ashen Forests

25 Apr 18:12
Compare
Choose a tag to compare
  • Incomplete assertion chains now throw IncompleteAssertion.
  • Suppresses class name in the toString of exceptions thrown by Strikt assertions.
  • Updates strikt-arrow to support recent changes in the Arrow library.

Ascending Ivory

11 Apr 17:41
Compare
Choose a tag to compare
  • Fixes an issue where pending assertion chains in a block took precedence over failures, causing false positives. See #243

Sorrowful Glass

27 Mar 17:16
Compare
Choose a tag to compare
  • All transitive dependencies are now resolvable from Maven Central rather than needing JCenter.
  • Adds isContainedIn assertion.

Hateful Mantis

07 Feb 04:54
Compare
Choose a tag to compare
  • Moves several JVM-specific assertions to the new strikt-jvm module.
  • Removes the strikt-java-time module (use strikt-jvm instead).
  • Adds isSorted assertion for Iterable<Comparable<*>>.
  • Broadens isSorted(Comparator) so that it applies to Iterable<*> rather than Collection<*>.

Hidden Ruin

26 Jan 17:35
Compare
Choose a tag to compare
  • Removes support for Arrow's Try type that has been removed from arrow-core.
  • Adds anyIndexed, allIndexed, and noneIndexed assertions for Iterable<*>.

Distant Princess

01 Dec 23:30
Compare
Choose a tag to compare
  • Adds count() and count(predicate) mappings for Iterable subjects.
  • Additional support for File subjects. See #230
    • mapping property Assertion.Builder<File>.parentFile: Builder<File>
    • mapping property Assertion.Builder<File>.lastModified: Long
    • mapping property Assertion.Builder<File>.length: Long
    • mapping property Assertion.Builder<File>.childFiles: Builder<List<File>>
    • mapping function Assertion.Builder<File>.childFile(name): Builder<File>
    • assertion Assertion.Builder<File>.exists()
    • assertion Assertion.Builder<File>.notExists()
    • assertion Assertion.Builder<File>.isRegularFile()
    • assertion Assertion.Builder<File>.isNotRegularFile()
    • assertion Assertion.Builder<File>.isDirectory()
    • assertion Assertion.Builder<File>.isNotDirectory()
    • assertion Assertion.Builder<File>.isReadable()
    • assertion Assertion.Builder<File>.isNotReadable()
    • assertion Assertion.Builder<File>.isWritable()
    • assertion Assertion.Builder<File>.isNotWritable()
    • assertion Assertion.Builder<File>.isExecutable()
    • assertion Assertion.Builder<File>.isNotExecutable()