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-10-15

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

Health v2 · maintenance only

76/100

  • Activity 97
  • Release rhythm 34
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 53.5
  • age_days: 3850
  • days_rel: 361
  • days_push: 20
  • n_releases_24m: 7

Full methodology

Adoption not part of the score

1238 stars · 93 forks observed · 2026-10-15

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/testfixturesmain76

For agents

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

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem