Browse Kotlin Multiplatform libraries
index data from klibs.ioResponding to component state changes: ViewModel and LiveData APIs, Compose integrations, saved-state handling, process-wide state tracking, ReactiveStreams support, and testing utilities.
Simplifies navigation between UI destinations via a consistent API, offers type-safe arguments (Safe Args), Compose and fragment integrations, feature-module support, and testing utilities.
Abstraction layer over SQLite enabling robust database access, compile-time schema export and migrations, annotation-processor tooling, coroutine/RxJava/paging integrations, Gradle plugin for schema management.
Mocks library simplifies and automates unit testing by providing flexible, type-safe mocking capabilities. Key features include relaxed mocks, partial mocking, annotations for mock object creation, and support for various frameworks like JUnit and Spring.
Flexible and comprehensive testing tool offering a variety of testing styles, assertions, and integrations for seamless test creation and management. Includes extensive community support and resources for quick onboarding.
Small testing library for coroutines Flow. Offers awaitItem(), awaitComplete(), and awaitError() to test emitted items, completion, and errors. Allows standalone usage and custom timeouts, ensuring all events are consumed.
A test framework facilitating behavior-driven development with a clear, structured syntax. Actively developed in version 2.x, with version 1.x maintained for bug fixes and documentation.
Enhances testing by enabling screenshot capturing during integration tests to validate app appearance and functionality. Integrated with Robolectric, supports visual comparison, and automates GitHub Actions workflows for reliable visual regression testing.
Fluent assertion library simplifies writing and extending custom assertion methods. Supports multiple assertions, nullability, iterable assertions, extracting data, table assertions, and custom assertion creation.
Type-safe DSL for data validation featuring zero dependencies and extensive support for nested, custom, and hint-based validations. Allows easy error access and integrates with testing libraries like Kotest.
Framework for testing concurrent algorithms on the JVM. Enables declarative test specification, automatically generates random scenarios, and verifies correctness properties using stress-testing or model checking.
Open-source expectation/assertion library designed to support multiple APIs, focusing on helping developers understand errors and prevent pitfalls. Extensible, configurable, and provides enhanced reporting and sophisticated expectation builders.
Type-safe automatic differentiation framework enabling users to express differentiable programs with higher-dimensional data structures and operators. Ensures compile-time algebraic validity, reducing runtime errors and supporting advanced features like shape-safe tensor operations, symbolic derivatives, and property-based testing for numerical gradient checking.
Mocking library simplifies unit testing by enabling easy, boilerplate-free creation of mock objects and verifying interactions. Features include suspend function support and a compiler plugin to streamline mocking setup.
Mocking library with concise, type-safe API for generating mock classes, supporting stubbing, verification, and implicit stubbing of `Unit` functions. Integrates with Gradle, enabling easy configuration and verification in tests.
Unit testing library facilitates parameterization of tests using enums, specializing test cases for each enum value and combination, enhancing test coverage with minimal code changes.
AI-powered mobile testing framework enables authoring and executing tests using natural language, supports on-device execution, offers custom agent tools, and provides detailed reporting with Maestro integration.
Generates mocks and fakes for testing, utilizing a Kotlin Symbol Processor. Features include helper usage and workaround installation, supporting efficient setup and verification in unit tests.
Test-only toolkit turning UI recomposition behavior into assertions: tag composables, assert per-instance recomposition counts, get one-line test setup plus rich diagnostics and causality analysis.
Coroutines-powered test framework enabling structured testing with dynamic tests, flexible configuration, and coroutine context inheritance. Features include extensible DSL, test fixtures, and multiplatform API.
Plugin and library facilitate reading test resources using a unified API. Provides `Resource` class for checking existence, reading text, and reading bytes from designated resource folders.
Testing API for creating readable, fluent assertions inspired by Google Truth. Allows writing `assertThat` checks, custom messages, and exception assertions, producing cleaner error messages.
Generates code and runtime libraries from Smithy models, supporting various protocols, authentication, serialization, and observability, along with extensive testing and benchmarking modules.
Implements Agent Client Protocol for integrating AI agents, supporting client and agent capabilities, standardized AI interface, JSON-RPC handling, session management, and file operations. Includes examples and STDIO transport communication.
Implements verifiable credentials for issuing, presentation, and validation across various applications, supporting W3C and ISO standards, ARIES protocols, OpenID, and customizable cryptographic operations.
Facilitates mocking and unit testing by generating mock/spy boilerplate code without using annotation processors or reflection. Supports manual mocks, argument matching, test mode configuration, and experimental mock/spy generation plugin.
Simulating WindowInsets in Compose previews and tests — status/navigation bars, display cutouts; visual overlap highlighting, screenshot-friendly configurations, and device recording to capture real insets.
Generates compile-time type-safe test fakes with zero runtime overhead, no reflection, thread-safe call tracking, smart defaults and compiler-plugin code generation for comprehensive test doubles.
Expose Compose UIs over a REST-like HTTP API for AI agents to inspect (semantic tree, screenshots) and interact (clicks, gestures, text), record GIFs, run headlessly without production changes.
All-purpose command-line test framework for evaluating and certifying static analyzers, compilers, and other code-related tools. Enables automated test detection, comparison of expected vs. actual warnings, and supports multiple plugins for diverse testing scenarios.