Skip to content

Releases: jzbrooks/assertk-lint

v1.3.0

22 Oct 00:30
df258e8
Compare
Choose a tag to compare

Added

  • NullComparisonAssertion requires using assertk's isNotNull and isNull assertions for null assertions
  • UseIndexAssertion requires using assertk's indexing assertions (index, first, etc) to make assertions on a particular array or list value

v1.2.1

05 Jul 19:36
Compare
Choose a tag to compare

Fixed

  • MapValueAssertion no longer raises issues on array indexing expressions as an assertThat argument

v1.2.0

27 Jun 00:30
Compare
Choose a tag to compare

Added

  • MapValueAssertion requires using assertk's key function to make assertions on a particular map value
  • KeySetAbsentAssertion requires using assertk's doesNotContainKey function to assert a key is absent in a map
  • KeySetPresentAssertion requires using assertk's key function to assert a key is present in a map
  • TryCatchAssertion requires using assertk's assertFailure function to handle expected exceptions

v1.1.1

03 Jan 01:35
af10a5b
Compare
Choose a tag to compare

Fixed

  • Updated detector scope to avoid requiring checkTestSources
  • kotlin.test assertions were not detected by TestFrameworkAssertionDetector

v1.1.0

26 Nov 16:27
041f9c8
Compare
Choose a tag to compare

Added

  • UnusedAssertkAssertion detects unused assertion subjects

v1.0.1

19 Nov 00:46
Compare
Choose a tag to compare

Fixed

  • Jar metadata pointed to an incorrect lint issue registry class

1.0.0

18 Nov 21:34
Compare
Choose a tag to compare

Added

  • Warnings for test framework assertions
  • Warnings for Google Truth assertions (opt-in)
  • Warnings for AssertJ assertions (opt-in)