Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.46 KB

CHANGELOG.md

File metadata and controls

50 lines (29 loc) · 1.46 KB

Changelog

Unreleased

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

1.2.1 - 2024-07-05

Fixed

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

1.2.0 - 2024-06-27

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

1.1.1 - 2024-01-02

Fixed

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

1.1.0 - 2023-11-26

Added

  • UnusedAssertkAssertion detects unused assertion subjects

1.0.1 - 2023-11-18

Fixed

  • Jar metadata pointed to an incorrect lint issue registry class

1.0.0 - 2023-11-18

Added

  • TestFrameworkAssertionUse detects junit4, junit5, and kotlin.test assertions
  • GoogleTruthUse detects Google Truth assertions (opt-in)
  • AssertJUse detects AssertJ assertions (opt-in)