go-testfixtures / testfixtures

Ruby on Rails like test fixtures for Go. Write tests against a real database
https://pkg.go.dev/github.com/go-testfixtures/testfixtures/v3?tab=doc
MIT License
1.12k stars 80 forks source link

Support GCP Spanner with GoogleSQL dialect #210

Closed kikihakiem closed 2 months ago

kikihakiem commented 4 months ago

I'm a big fan of testfixtures. It allowed me to implement integration tests with PostgreSQL and MySQL. Now that our team has adopted Spanner, we are missing the convenience testfixtures provide to generate test data declaratively.

We can use github.com/googleapis/go-sql-spanner which is compatible with database/sql.