- NullComparisonAssertion requires using assertk's
isNotNull
andisNull
assertions for null assertions - UseIndexAssertion requires using assertk's indexing assertions (
index
,first
, etc) to make assertions on a particular array or list value
- MapValueAssertion no longer raises issues on array indexing expressions as an
assertThat
argument
- 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
- Updated detector scope to avoid requiring
checkTestSources
- kotlin.test assertions were not detected by TestFrameworkAssertionDetector
- UnusedAssertkAssertion detects unused assertion subjects
- Jar metadata pointed to an incorrect lint issue registry class
- TestFrameworkAssertionUse detects junit4, junit5, and kotlin.test assertions
- GoogleTruthUse detects Google Truth assertions (opt-in)
- AssertJUse detects AssertJ assertions (opt-in)