Ross ROSS = Recommend OSS · open-source software intelligence for agents

go-testfixtures/testfixtures

Ruby on Rails like test fixtures for Go. Write tests against a real database observed · 2026-08-28

github.com/go-testfixtures/testfixtures · homepage · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

78/100

  • Activity 98
  • Release rhythm 41
  • 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: 53.5
  • age_days: 3802
  • days_rel: 313
  • days_push: 14
  • n_releases_24m: 7

Full methodology

Adoption not part of the score

1235 stars · 92 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Go library that mimics Ruby on Rails-style test fixtures, loading YAML fixture files into a real SQL database before each test. It wipes and repopulates the test database so functional tests run against actual data instead of mocks.

Use cases

  • load yaml fixtures into a test database in go
  • run go tests against a real database instead of mocks
  • reset database state before each go test
  • seed test data for functional tests in go
  • rails-like fixtures for golang
  • test go web apps with a real sql database

When to choose

  • you write Go integration or functional tests that hit a real SQL database
  • you want Rails-style YAML fixtures with automatic per-test database reset
  • you find database mocks tedious and error-prone

When to avoid

  • you only need unit tests with mocked data layers
  • you cannot risk wiping a database (it deletes all data before loading)
  • you use a non-SQL datastore

Facets

library · maturity active

testing database mocking testing databases developer-tools go cli test-fixtures yaml-fixtures integration-testing rails-style sql

4 sources

Member repositories

RepositoryRoleHealth v2
go-testfixtures/testfixturesmain78

For agents

markdown · JSON · MCP: product_card(name="go-testfixtures/testfixtures")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem