# betterspecs/betterspecs

RSpec Best Practices

Repository: https://github.com/betterspecs/betterspecs
Canonical: https://ross.abutalabs.com/products/betterspecs
Homepage: http://betterspecs.org
Language: HTML
License Family: other
Last push: 2024-11-14T12:32:31+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": 5083, "days_push": 657, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3499, forks 284 (observed 2026-08-28T04:08:07.466734+00:00)

## What it is
Better Specs is a community-driven collection of RSpec and Rails testing best practices, published as the betterspecs.org website. The repository contains the Jekyll source for the site, which presents guidelines for writing clear, well-organized specs.

## Use cases
- learn how to write better RSpec tests
- find Rails testing best practices
- improve spec readability with contexts and short descriptions
- onboard a team to consistent testing conventions
- contribute testing guidelines for other languages and frameworks

## When to choose
- you write Ruby/RSpec tests and want established conventions
- you need a reference to standardize your team's spec style
- you want inspiration for organizing describe/context/it blocks

## When to avoid
- you need a testing tool or library rather than guidelines
- you work outside Ruby/RSpec and need framework-specific tooling
- you need executable linters enforcing test style

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: testing, documentation
- domain: testing, developer-tools, tutorials
- platform: ruby
- tags: rspec, rails, best-practices, jekyll, testing-guidelines, web-server

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

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.466734+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-29T18:35:49.706925+00:00, confidence not recorded.
  - readme: https://github.com/betterspecs/betterspecs (fetched 2026-08-28T04:08:07.466734+00:00, sha 35b3f58a93a8)
  - homepage: http://betterspecs.org (fetched 2026-08-29T09:29:52.192967+00:00, sha df598c7460a3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
