cashapp/turbine
A testing library for kotlinx.coroutines Flow observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 99
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 238
- age_days: 2226
- days_rel: 448
- days_push: 8
- n_releases_24m: 2
Adoption not part of the score
2854 stars · 134 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Turbine is a small Kotlin testing library for kotlinx.coroutines Flow. It wraps flows in a Turbine channel-based API with awaitItem/awaitComplete/awaitError assertions, timeouts, and cleanup.
Use cases
- test kotlin coroutines flow emissions
- assert flow items and completion in unit tests
- test multiple flows concurrently in kotlin
- avoid hanging tests when a flow emits nothing
- verify flow errors in coroutine tests
When to choose
- you write Kotlin/JVM or Android code using kotlinx.coroutines Flow and need deterministic flow tests
- you want concise flow assertions with automatic timeouts and cleanup
When to avoid
- you test RxJava or Reactor streams rather than kotlinx.coroutines Flow
- you need end-to-end or UI testing rather than flow unit tests
Facets
library · maturity active
testing concurrency testing developer-tools programming-languages jvm cross-platform kotlin kotlinx-coroutines flow unit-testing coroutines android
2 sources
- readme: https://github.com/cashapp/turbine · fetched 2026-08-28 · 0295dcb748ab
- homepage: https://cashapp.github.io/turbine/docs/1.x/ · fetched 2026-08-29 · 715b44855c99
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cashapp/turbine | main | 67 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem