{"id":74103,"library":"kotlintest-assertions","title":"KotlinTest Assertions","description":"Assertion library for KotlinTest, a flexible and comprehensive testing framework for Kotlin.","status":"active","version":"3.4.2","language":"java","source_language":null,"source_url":"https://github.com/kotlintest/kotlintest","tags":["testing","kotlin","assertions","kotlintest"],"install":[{"cmd":"<dependency>\n  <groupId>io.kotlintest</groupId>\n  <artifactId>kotlintest-assertions</artifactId>\n  <version>3.4.2</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'io.kotlintest:kotlintest-assertions:3.4.2'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"shouldBe","correct":"io.kotlintest.shouldBe"}],"quickstart":{"code":"import io.kotlintest.shouldBe\n\n\"hello\".length shouldBe 5","lang":"kotlin","description":"Use the shouldBe assertion in a KotlinTest test"},"warnings":[{"fix":"Replace io.kotlintest with io.kotest and update imports","message":"KotlinTest 3.x is deprecated; use Kotest 4.x+ with different package names","severity":"breaking","affected_versions":">=3.0.0 <4.0.0"}],"env_vars":null,"search_vec":"'assert':2,3,17 'comprehens':10 'flexibl':8 'framework':12 'kotlin':14,16 'kotlintest':1,6,18 'librari':4 'test':11,15","created_at":"2026-06-17T18:58:49.257235+00:00","updated_at":"2026-06-17T18:58:49.257235+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://www.github.com/kotlintest/kotlintest","github":"https://github.com/kotlintest/kotlintest","docs":"https://appdoc.app/artifact/io.kotlintest/kotlintest-assertions/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}