# specta/specta

A light-weight TDD / BDD framework for Objective-C & Cocoa

Repository: https://github.com/specta/specta
Canonical: https://ross.abutalabs.com/products/specta
Language: Objective-C
License: MIT
License Family: permissive
Topics: bdd-framework, xcode, objective-c, testing
Last push: 2022-02-27T13:22:51+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5353, "days_push": 1648, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2313, forks 219 (observed 2026-08-28T04:06:36.668060+00:00)

## What it is
Specta is a lightweight TDD/BDD testing framework for Objective-C and Cocoa, providing an RSpec-like DSL built on top of XCTest. It offers nested describes, hooks, shared examples, pending specs, and async support with excellent Xcode integration.

## Use cases
- write BDD-style tests for Objective-C code
- run RSpec-like specs in Xcode
- test asynchronous Objective-C code with done callbacks
- share example groups across spec files
- organize tests with nested describe/context blocks
- mark tests as pending

## When to choose
- you maintain an Objective-C or Cocoa codebase and want a readable BDD DSL
- you want XCTest-compatible specs with shared examples and async waiting
- you prefer RSpec-style syntax in Xcode

## When to avoid
- you are writing Swift-only projects (Swift-native frameworks like Quick are a better fit)
- you need a framework with active ongoing development
- you want plain XCTest without a DSL

## Facets
- artifact type: library
- maturity: maintenance
- function: testing, e2e-testing
- domain: testing, developer-tools, apple-ecosystem
- platform: -
- tags: bdd, tdd, objective-c, xctest, rspec-like-dsl, cocoa, macos, ios, xcode

## Member repositories
- specta/specta (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:36.668060+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:39:29.498706+00:00, confidence not recorded.
  - readme: https://github.com/specta/specta (fetched 2026-08-28T04:06:36.668060+00:00, sha fb84794e5f5c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
