# spekframework/spek

A specification framework for Kotlin

Repository: https://github.com/spekframework/spek
Canonical: https://ross.abutalabs.com/products/spekframework-spek
Language: Kotlin
License: NOASSERTION
License Family: other
Topics: kotlin, spek, testing, tdd, bdd
Last push: 2024-05-26T09:35:14+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5049, "days_push": 829, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2220, forks 179 (observed 2026-08-28T04:06:27.437509+00:00)

## What it is
Spek is a specification-style test framework for Kotlin on the JVM, supporting BDD/TDD-style test writing with a DSL. It provides a runner and IDE integration for executing specification suites.

## Use cases
- write bdd-style tests in kotlin
- specification framework for kotlin projects
- run tdd specs on the jvm
- structure tests with given-when-then style
- kotlin test dsl alternative to junit

## When to choose
- you prefer BDD/specification-style tests in Kotlin
- you want a JetBrains-originated Kotlin test DSL

## When to avoid
- you need a framework under very active development
- you prefer mainstream Kotlin test libraries like Kotest or JUnit 5

## Facets
- artifact type: library
- maturity: maintenance
- function: testing, e2e-testing
- domain: testing, developer-tools, programming-languages
- platform: jvm
- tags: kotlin, bdd, tdd, specification-framework, test-runner

## Member repositories
- spekframework/spek (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:27.437509+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:45:51.081209+00:00, confidence not recorded.
  - readme: https://github.com/spekframework/spek (fetched 2026-08-28T04:06:27.437509+00:00, sha 36547e4c7bdb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
