# cedarbdd/cedar

BDD-style testing using Objective-C

Repository: https://github.com/cedarbdd/cedar
Canonical: https://ross.abutalabs.com/products/cedarbdd-cedar
Homepage: http://groups.google.com/group/cedar-discuss
Language: Objective-C++
License Family: other
Last push: 2023-03-24T16:06:22+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": 5931, "days_push": 1258, "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 1184, forks 140 (observed 2026-08-28T04:03:54.818510+00:00)

## What it is
Cedar is a BDD-style testing framework for Objective-C featuring an expressive matcher DSL and built-in test doubles. It integrates with Xcode via templates and supports installation through CocoaPods and Carthage.

## Use cases
- write BDD-style specs for Objective-C code
- test iOS apps with expressive matchers
- create test doubles and stubs in Objective-C
- structure unit tests with describe/it blocks
- add a spec framework to an Xcode test bundle

## When to choose
- you maintain a legacy Objective-C or Objective-C++ codebase and want BDD-style testing
- you prefer RSpec-like describe/it syntax with a rich matcher DSL
- you need built-in test doubles for Objective-C

## When to avoid
- you are starting a new Swift project - XCTest or Swift Testing are better supported
- you need a framework with active development and modern community support
- your project does not use Apple platforms or Objective-C

## Facets
- artifact type: library
- maturity: maintenance
- function: testing, mocking
- domain: testing, developer-tools, apple-ecosystem
- platform: cpp
- tags: bdd, objective-c, xcode, test-doubles, matcher-dsl, spec-framework, macos, ios, swift

## Member repositories
- cedarbdd/cedar (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:54.818510+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-30T06:24:14.216984+00:00, confidence not recorded.
  - readme: https://github.com/cedarbdd/cedar (fetched 2026-08-28T04:03:54.818510+00:00, sha 2d4d6c821a40)
  - homepage: http://groups.google.com/group/cedar-discuss (fetched 2026-08-29T12:31:12.045227+00:00, sha 4d59628cc729)
- Data as of 2026-08-30T08:39:29.467469+00:00.
